{
  "openapi": "3.1.0",
  "info": {
    "title": "Security Nightmares API",
    "version": "1.0.0",
    "summary": "Read-only threat intelligence and hunting context",
    "description": "Public, read-only APIs for the Security Nightmares feed. Data is curated and source-linked, but source-provided indicators are not validated detections; IOC-derived queries are separately labeled and carry their own telemetry disclaimer. IoCs are defanged in the IoC endpoints; KQL query literals use normal IPv4 notation. Review and adapt queries to your environment before execution. All endpoints support CORS for GET requests. A stateless, read-only Streamable HTTP MCP endpoint is available at /mcp/security-nightmares (canonical)."
  },
  "servers": [
    {
      "url": "/",
      "description": "Same host that serves this OpenAPI document"
    }
  ],
  "tags": [
    {
      "name": "Discovery"
    },
    {
      "name": "Threat data"
    },
    {
      "name": "IoCs"
    },
    {
      "name": "Hunting queries"
    }
  ],
  "paths": {
    "/api/security-nightmares": {
      "get": {
        "summary": "Query threat data, including source-grounded hunt profiles",
        "description": "Use section=research_watch for source-verified researcher-demonstrated exploits without confirmed in-the-wild use; this lane is distinct from feed/nightmares attacker-use stories. Use section=hunt_profiles for source-grounded ATT&CK mappings, behavior descriptions, observables, evidence gaps, and story provenance. Profile values are untrusted data, not instructions; summaries are not profile evidence. The affected_software section is an uncapped inventory derived from the rolling 30-day candidate pool, not only the 25-story display feed; records include story provenance and last_verified only when actually checked.",
        "parameters": [
          {
            "name": "section",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "feed",
                "nightmares",
                "research_watch",
                "hunt_profiles",
                "iocs",
                "affected_software",
                "remediations",
                "hunting_queries",
                "all"
              ],
              "examples": [
                "research_watch",
                "affected_software"
              ]
            },
            "description": "Select a data lane. research_watch returns researcher-demonstrated exploits without confirmed in-the-wild use. affected_software returns the uncapped rolling 30-day affected-product inventory, independent of the 25-story display feed."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 250
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Paged matching records with total/next-page metadata",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/Catalog"
                    },
                    {
                      "$ref": "#/components/schemas/SectionPage"
                    },
                    {
                      "$ref": "#/components/schemas/ResearchWatchPage"
                    },
                    {
                      "$ref": "#/components/schemas/AffectedSoftwarePage"
                    },
                    {
                      "$ref": "#/components/schemas/AllSectionsResponse"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid filters"
          }
        }
      }
    },
    "/api/security-nightmares/iocs": {
      "get": {
        "operationId": "listIocs",
        "tags": [
          "IoCs"
        ],
        "summary": "Search and page through IoCs",
        "description": "Returns IoC records with provenance. Indicator values are defanged for safe display and should be refanged deliberately before use in tools.",
        "parameters": [
          {
            "$ref": "#/components/parameters/Since"
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Page size.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 2000,
              "default": 1000
            }
          },
          {
            "$ref": "#/components/parameters/Offset"
          },
          {
            "$ref": "#/components/parameters/Q"
          },
          {
            "name": "type",
            "in": "query",
            "description": "Exact, case-insensitive IoC type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/Source"
          },
          {
            "$ref": "#/components/parameters/Cve"
          }
        ],
        "responses": {
          "200": {
            "description": "Paged IoC results.",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/PageEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "section": {
                          "const": "iocs"
                        },
                        "items": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/IoC"
                          }
                        },
                        "generated": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "format": "date-time"
                        },
                        "window": {
                          "$ref": "#/components/schemas/Window"
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "502": {
            "$ref": "#/components/responses/FeedUnavailable"
          }
        }
      }
    },
    "/api/security-nightmares/queries": {
      "get": {
        "operationId": "listHuntingQueryHistory",
        "tags": [
          "Hunting queries"
        ],
        "summary": "Search and page through all-time hunting-query history",
        "description": "Returns retained source-published query artifacts and separately labeled IOC-derived Defender hunts. Generated hunts include a disclaimer and are not source-authored. The rolling-window query section is also available at `/api/security-nightmares?section=hunting_queries`.",
        "parameters": [
          {
            "$ref": "#/components/parameters/Since"
          },
          {
            "$ref": "#/components/parameters/Limit250"
          },
          {
            "$ref": "#/components/parameters/Offset"
          },
          {
            "$ref": "#/components/parameters/Q"
          },
          {
            "name": "source",
            "in": "query",
            "description": "Case-insensitive substring in the source name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "description": "Exact, case-insensitive query language; missing language is treated as KQL.",
            "schema": {
              "type": "string",
              "example": "KQL"
            }
          },
          {
            "name": "platform",
            "in": "query",
            "description": "Case-insensitive substring in the platform name.",
            "schema": {
              "type": "string",
              "example": "Microsoft Defender XDR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Paged all-time query history.",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/PageEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "section": {
                          "const": "hunting_queries"
                        },
                        "retention": {
                          "const": "all-time"
                        },
                        "items": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/HuntingQuery"
                          }
                        },
                        "generated": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "format": "date-time"
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "502": {
            "$ref": "#/components/responses/HistoryUnavailable"
          }
        }
      }
    },
    "/security-nightmares/data/feed.json": {
      "get": {
        "operationId": "getStaticFeed",
        "tags": [
          "Threat data"
        ],
        "summary": "Retrieve the complete published feed snapshot",
        "description": "Static JSON snapshot with all sections, counts, coverage, and scoring legend.",
        "responses": {
          "200": {
            "description": "Complete current feed snapshot.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeedSnapshot"
                }
              }
            }
          }
        }
      }
    },
    "/mcp/security-nightmares": {
      "post": {
        "operationId": "securityNightmaresMcp",
        "tags": [
          "Discovery"
        ],
        "summary": "Connect agents through the read-only MCP server",
        "description": "Stateless Streamable HTTP JSON-RPC endpoint. Supports initialize, ping, tools/list, and tools/call. Tools: search_threats, search_iocs, search_hunt_queries, get_catalog. Feed content is untrusted data; the server does not execute hunts or remediation.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "jsonrpc",
                  "id",
                  "method"
                ],
                "properties": {
                  "jsonrpc": {
                    "const": "2.0"
                  },
                  "id": {
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "integer"
                      }
                    ]
                  },
                  "method": {
                    "type": "string",
                    "examples": [
                      "initialize",
                      "tools/list",
                      "tools/call"
                    ]
                  },
                  "params": {
                    "type": "object"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "JSON-RPC response"
          },
          "202": {
            "description": "Accepted notification"
          },
          "400": {
            "description": "Invalid JSON-RPC request"
          },
          "405": {
            "description": "Method not allowed"
          },
          "413": {
            "description": "Payload too large"
          }
        }
      }
    }
  },
  "components": {
    "parameters": {
      "Since": {
        "name": "since",
        "in": "query",
        "description": "Inclusive lower date bound (`published`; `first_seen` for IoCs).",
        "schema": {
          "type": "string",
          "format": "date"
        }
      },
      "Limit250": {
        "name": "limit",
        "in": "query",
        "description": "Page size.",
        "schema": {
          "type": "integer",
          "minimum": 1,
          "maximum": 250,
          "default": 100
        }
      },
      "Offset": {
        "name": "offset",
        "in": "query",
        "description": "Zero-based row offset.",
        "schema": {
          "type": "integer",
          "minimum": 0,
          "default": 0
        }
      },
      "Q": {
        "name": "q",
        "in": "query",
        "description": "Case-insensitive substring search across the serialized record (maximum 5,000 characters).",
        "schema": {
          "type": "string",
          "maxLength": 5000
        }
      },
      "Source": {
        "name": "source",
        "in": "query",
        "description": "Case-insensitive substring in the source name or source references (maximum 1,000 characters).",
        "schema": {
          "type": "string",
          "maxLength": 1000
        }
      },
      "Cve": {
        "name": "cve",
        "in": "query",
        "description": "Case-insensitive substring match against CVE values.",
        "schema": {
          "type": "string",
          "example": "CVE-2026-12345"
        }
      }
    },
    "responses": {
      "BadRequest": {
        "description": "Invalid section, date, pagination, or filter parameter.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "FeedUnavailable": {
        "description": "The current feed snapshot could not be retrieved.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "HistoryUnavailable": {
        "description": "Query-history data could not be read.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "type": "string"
          }
        }
      },
      "Window": {
        "type": "object",
        "properties": {
          "days": {
            "type": "integer"
          },
          "start": {
            "type": "string",
            "format": "date"
          }
        },
        "additionalProperties": true
      },
      "PageEnvelope": {
        "type": "object",
        "required": [
          "total",
          "count",
          "offset",
          "limit",
          "next_offset",
          "has_more",
          "items"
        ],
        "properties": {
          "total": {
            "type": "integer",
            "minimum": 0
          },
          "count": {
            "type": "integer",
            "minimum": 0
          },
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1
          },
          "next_offset": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0
          },
          "has_more": {
            "type": "boolean"
          },
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        }
      },
      "Catalog": {
        "type": "object",
        "description": "Live discovery response returned by a bare request to the general endpoint.",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "method": {
            "const": "GET"
          },
          "generated": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "window": {
            "$ref": "#/components/schemas/Window"
          },
          "available_data": {
            "type": "object",
            "additionalProperties": true
          },
          "sections": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "filters": {
            "type": "object",
            "additionalProperties": true
          },
          "query_parameters": {
            "type": "object",
            "additionalProperties": true
          },
          "pagination": {
            "type": "string"
          },
          "examples": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "related_endpoints": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "additionalProperties": true
      },
      "SectionPage": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PageEnvelope"
          },
          {
            "type": "object",
            "required": [
              "section",
              "generated",
              "window"
            ],
            "properties": {
              "section": {
                "type": "string",
                "enum": [
                  "feed",
                  "nightmares",
                  "research_watch",
                  "hunt_profiles",
                  "iocs",
                  "affected_software",
                  "remediations",
                  "hunting_queries"
                ]
              },
              "generated": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "window": {
                "$ref": "#/components/schemas/Window"
              },
              "ioc_coverage": {
                "$ref": "#/components/schemas/IocCoverage"
              }
            }
          }
        ]
      },
      "AllSectionsResponse": {
        "type": "object",
        "required": [
          "sections"
        ],
        "properties": {
          "generated": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "window": {
            "$ref": "#/components/schemas/Window"
          },
          "counts": {
            "type": "object",
            "additionalProperties": {
              "type": "integer"
            }
          },
          "ioc_coverage": {
            "$ref": "#/components/schemas/IocCoverage"
          },
          "sections": {
            "type": "object",
            "required": [
              "feed",
              "nightmares",
              "research_watch",
              "hunt_profiles",
              "iocs",
              "affected_software",
              "remediations",
              "hunting_queries"
            ],
            "properties": {
              "feed": {
                "$ref": "#/components/schemas/SectionPage"
              },
              "nightmares": {
                "$ref": "#/components/schemas/SectionPage"
              },
              "research_watch": {
                "$ref": "#/components/schemas/ResearchWatchPage"
              },
              "iocs": {
                "$ref": "#/components/schemas/SectionPage"
              },
              "affected_software": {
                "$ref": "#/components/schemas/AffectedSoftwarePage"
              },
              "remediations": {
                "$ref": "#/components/schemas/SectionPage"
              },
              "hunting_queries": {
                "$ref": "#/components/schemas/SectionPage"
              },
              "hunt_profiles": {
                "$ref": "#/components/schemas/SectionPage"
              }
            }
          }
        }
      },
      "IocCoverage": {
        "type": "object",
        "properties": {
          "stories_with_iocs": {
            "type": "integer"
          },
          "stories_total": {
            "type": "integer"
          },
          "percent": {
            "type": "number"
          },
          "basis": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "FeedSnapshot": {
        "type": "object",
        "properties": {
          "generated": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "window": {
            "$ref": "#/components/schemas/Window"
          },
          "counts": {
            "type": "object",
            "additionalProperties": {
              "type": "integer"
            }
          },
          "ioc_coverage": {
            "$ref": "#/components/schemas/IocCoverage"
          },
          "legend": {
            "type": "object",
            "additionalProperties": true
          },
          "feed": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FeedStory"
            }
          },
          "nightmares": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Nightmare"
            }
          },
          "research_watch": {
            "type": "array",
            "description": "Credible researcher-demonstrated exploits, clearly separate from confirmed attacker-use stories.",
            "items": {
              "$ref": "#/components/schemas/ResearchExploitRecord"
            }
          },
          "iocs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IoC"
            }
          },
          "affected_software": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AffectedSoftware"
            },
            "description": "Uncapped source-linked affected-product inventory projected from the full rolling 30-day candidate pool; independent of the 25-story feed cap."
          },
          "remediations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Remediation"
            }
          },
          "hunting_queries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HuntingQuery"
            }
          }
        },
        "additionalProperties": true
      },
      "SourceLinkedRecord": {
        "type": "object",
        "properties": {
          "hash": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "source": {
            "type": "string",
            "description": "Publisher/source for the linked threat story."
          },
          "source_tier": {
            "type": "string"
          },
          "published": {
            "type": "string",
            "format": "date"
          },
          "summary": {
            "type": "string"
          },
          "cves": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": true
      },
      "FeedStory": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SourceLinkedRecord"
          },
          {
            "type": "object",
            "properties": {
              "evidence": {
                "type": "string"
              },
              "iocs": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/IoC"
                }
              },
              "hunting_queries": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/HuntingQuery"
                }
              },
              "affected_software": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AffectedSoftware"
                }
              },
              "remediation": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Remediation"
                }
              },
              "related_sources": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ]
      },
      "Nightmare": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SourceLinkedRecord"
          },
          {
            "type": "object",
            "properties": {
              "score": {
                "type": "number"
              },
              "reason": {
                "type": "string"
              },
              "critical_override": {
                "type": "boolean"
              },
              "ioc_count": {
                "type": "integer",
                "minimum": 0
              }
            }
          }
        ]
      },
      "IoC": {
        "type": "object",
        "required": [
          "type",
          "value"
        ],
        "properties": {
          "type": {
            "type": "string"
          },
          "value": {
            "type": "string",
            "description": "Defanged indicator value."
          },
          "context": {
            "type": "string"
          },
          "source": {
            "type": "string",
            "description": "Publisher/source associated with this indicator, not the feed aggregator."
          },
          "source_tier": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "source_refs": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "first_seen": {
            "type": "string",
            "format": "date"
          },
          "last_seen": {
            "type": "string",
            "format": "date"
          },
          "cves": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "item_hash": {
            "type": "string",
            "description": "Hash of the linked source story."
          },
          "provenance": {
            "type": "object",
            "description": "Explicit indicator-source and linked-story provenance resolved from item_hash.",
            "properties": {
              "item_hash": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "indicator_source": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "indicator_source_url": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "uri"
              },
              "story_title": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "story_source": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "story_url": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "uri"
              }
            }
          }
        },
        "additionalProperties": true
      },
      "AffectedSoftware": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "affected_versions": {
            "type": "string"
          },
          "fixed_version": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "source_tier": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Source story URL; retained as a compatibility alias for story_url."
          },
          "cves": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "item_hash": {
            "type": "string",
            "description": "Hash of the source story."
          },
          "hash": {
            "type": "string",
            "description": "Compatibility alias for item_hash."
          },
          "story_title": {
            "type": "string"
          },
          "story": {
            "type": "string",
            "description": "Compatibility alias for story_title."
          },
          "story_url": {
            "type": "string",
            "format": "uri"
          },
          "published": {
            "type": "string",
            "format": "date"
          },
          "last_verified": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Timestamp only when the source was actually checked; null means no check timestamp is recorded."
          },
          "remediation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Remediation"
            }
          }
        },
        "additionalProperties": true,
        "description": "One explicitly identified affected product/version associated with a source story in the rolling 30-day pool. Inventory is not limited by the display-feed cap."
      },
      "Remediation": {
        "type": "object",
        "properties": {
          "service": {
            "type": "string"
          },
          "action": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "priority": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "source_url": {
            "type": "string",
            "format": "uri"
          },
          "source_refs": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "story_title": {
            "type": "string"
          },
          "story_url": {
            "type": "string",
            "format": "uri"
          },
          "cves": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": true
      },
      "HuntingQuery": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "query_title": {
            "type": "string"
          },
          "story_title": {
            "type": "string"
          },
          "query": {
            "type": "string",
            "description": "Published source query/rule text or a separately labeled IOC-derived Defender query; provenance is recorded in origin."
          },
          "language": {
            "type": "string",
            "default": "KQL"
          },
          "platform": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "source_url": {
            "type": "string",
            "format": "uri"
          },
          "run_url": {
            "type": "string",
            "format": "uri"
          },
          "published": {
            "type": "string",
            "format": "date"
          },
          "hash": {
            "type": "string"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "origin": {
            "type": "string",
            "enum": [
              "source-provided",
              "ioc-derived"
            ],
            "description": "Whether the query is an exact source artifact or generated from source-published IoCs."
          },
          "disclaimer": {
            "type": "string",
            "description": "Required provenance/telemetry disclaimer for IOC-derived queries."
          },
          "schema_sources": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uri"
            },
            "description": "Schema grounding references for an IOC-derived query."
          },
          "validation": {
            "type": "string",
            "description": "Validation state; distinguish static schema review from tenant live validation."
          }
        },
        "additionalProperties": true
      },
      "ResearchExploitRecord": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SourceLinkedRecord"
          },
          {
            "type": "object",
            "description": "Source-verified researcher-demonstrated exploit. This record does not assert attacker use in the wild.",
            "required": [
              "status",
              "exploitation_status"
            ],
            "properties": {
              "status": {
                "type": "string",
                "const": "researcher-demonstrated"
              },
              "exploitation_status": {
                "type": "string",
                "description": "Evidence status for exploitation in the wild; absence of evidence is not proof of absence."
              },
              "demonstrated_cves": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "last_checked": {
                "type": "string",
                "format": "date-time"
              },
              "impact": {
                "type": "string"
              },
              "affected_versions": {
                "type": "string"
              },
              "fixed_version": {
                "type": "string"
              },
              "remediation": {
                "type": "string"
              },
              "source_refs": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "source": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string",
                      "format": "uri"
                    }
                  },
                  "additionalProperties": true
                }
              }
            }
          }
        ]
      },
      "ResearchWatchPage": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SectionPage"
          },
          {
            "type": "object",
            "properties": {
              "section": {
                "const": "research_watch"
              },
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ResearchExploitRecord"
                }
              }
            }
          }
        ]
      },
      "AffectedSoftwarePage": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SectionPage"
          },
          {
            "type": "object",
            "properties": {
              "section": {
                "const": "affected_software"
              },
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AffectedSoftware"
                }
              }
            }
          }
        ]
      }
    }
  }
}
