{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/monit-rs/json-schema/monit-rs-open-apidiff-request-schema.json",
  "title": "OpenAPIDiffRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/monit-rs-tools-api-openapi.yml#/components/schemas/OpenAPIDiffRequest",
  "properties": {
    "old_spec": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Old Spec",
      "description": "Inline OpenAPI spec (JSON or YAML)."
    },
    "new_spec": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "New Spec",
      "description": "Inline OpenAPI spec (JSON or YAML)."
    },
    "old_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Old Url",
      "description": "HTTPS URL to fetch the old spec from."
    },
    "new_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "New Url",
      "description": "HTTPS URL to fetch the new spec from."
    }
  },
  "type": "object"
}