{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/monit-rs/json-schema/monit-rs-open-apiimport-preview-response-schema.json",
  "title": "OpenAPIImportPreviewResponse",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/monit-rs-openapi.json#/components/schemas/OpenAPIImportPreviewResponse",
  "properties": {
    "spec_url": {
      "type": "string",
      "title": "Spec Url"
    },
    "base_url": {
      "type": "string",
      "title": "Base Url"
    },
    "total_paths": {
      "type": "integer",
      "title": "Total Paths"
    },
    "available_tags": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Available Tags"
    },
    "limit_max": {
      "type": "integer",
      "title": "Limit Max"
    },
    "limit_remaining": {
      "type": "integer",
      "title": "Limit Remaining"
    },
    "over_limit_count": {
      "type": "integer",
      "title": "Over Limit Count"
    },
    "candidates": {
      "items": {
        "$ref": "#/$defs/OpenAPIImportCandidate"
      },
      "type": "array",
      "title": "Candidates"
    },
    "skipped": {
      "items": {
        "$ref": "#/$defs/OpenAPIImportSkipped"
      },
      "type": "array",
      "title": "Skipped"
    }
  },
  "type": "object",
  "required": [
    "spec_url",
    "base_url",
    "total_paths",
    "available_tags",
    "limit_max",
    "limit_remaining",
    "over_limit_count",
    "candidates",
    "skipped"
  ],
  "$defs": {
    "OpenAPIImportCandidate": {
      "properties": {
        "path": {
          "type": "string",
          "title": "Path"
        },
        "method": {
          "type": "string",
          "title": "Method"
        },
        "url": {
          "type": "string",
          "title": "Url"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "tags": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Tags",
          "default": []
        },
        "params": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Params",
          "default": []
        }
      },
      "type": "object",
      "required": [
        "path",
        "method",
        "url",
        "name"
      ],
      "title": "OpenAPIImportCandidate"
    },
    "OpenAPIImportSkipped": {
      "properties": {
        "path": {
          "type": "string",
          "title": "Path"
        },
        "method": {
          "type": "string",
          "title": "Method"
        },
        "reason": {
          "type": "string",
          "title": "Reason"
        }
      },
      "type": "object",
      "required": [
        "path",
        "method",
        "reason"
      ],
      "title": "OpenAPIImportSkipped"
    }
  }
}