{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/devarmor/json-schema/devarmor-fact-update-schema.json",
  "title": "FactUpdate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/devarmor-facts-api-openapi.yml#/components/schemas/FactUpdate",
  "properties": {
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "topics": {
      "anyOf": [
        {
          "items": {
            "type": "string",
            "pattern": "^[0-9a-z-]+$"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Topics"
    },
    "validity": {
      "anyOf": [
        {
          "$ref": "#/$defs/FactValidity"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "type": "object",
  "$defs": {
    "FactValidity": {
      "type": "string",
      "enum": [
        "assumed",
        "confirmed",
        "rejected"
      ],
      "title": "FactValidity"
    }
  }
}