{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/devarmor/json-schema/devarmor-abuse-case-update-schema.json",
  "title": "AbuseCaseUpdate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/devarmor-abuse-cases-api-openapi.yml#/components/schemas/AbuseCaseUpdate",
  "properties": {
    "symbolic_name": {
      "type": "null",
      "title": "Symbolic Name"
    },
    "title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Title"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "target_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Target Url"
    },
    "access_level_required": {
      "anyOf": [
        {
          "$ref": "#/$defs/AccessLevel"
        },
        {
          "type": "null"
        }
      ]
    },
    "test_instructions": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Test Instructions"
    },
    "exploitation_criteria": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Exploitation Criteria"
    },
    "use_case_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Use Case Id"
    },
    "pen_test_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pen Test Id"
    }
  },
  "type": "object",
  "$defs": {
    "AccessLevel": {
      "type": "string",
      "enum": [
        "anonymous",
        "user",
        "admin"
      ],
      "title": "AccessLevel"
    }
  }
}