{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/devarmor/json-schema/devarmor-data-set-delete-schema.json",
  "title": "DataSetDelete",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/devarmor-data-sets-api-openapi.yml#/components/schemas/DataSetDelete",
  "properties": {
    "symbolic_name": {
      "type": "string",
      "pattern": "^[0-9a-z-]+$",
      "title": "Symbolic Name"
    },
    "title": {
      "type": "string",
      "title": "Title"
    },
    "description": {
      "type": "string",
      "title": "Description"
    },
    "data_sensitivity": {
      "items": {
        "$ref": "#/$defs/DataSensitivity"
      },
      "type": "array",
      "title": "Data Sensitivity"
    },
    "access_control_methods": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/AccessControlMethod"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Access Control Methods"
    },
    "record_count": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Record Count"
    }
  },
  "type": "object",
  "required": [
    "symbolic_name",
    "title",
    "description",
    "data_sensitivity",
    "access_control_methods",
    "record_count"
  ],
  "$defs": {
    "AccessControlMethod": {
      "type": "string",
      "enum": [
        "acl",
        "rbac",
        "mac",
        "dac",
        "abac"
      ],
      "title": "AccessControlMethod"
    },
    "DataSensitivity": {
      "type": "string",
      "enum": [
        "pii",
        "phi",
        "fin",
        "ip",
        "cred",
        "biz",
        "gov",
        "pci",
        "op"
      ],
      "title": "DataSensitivity"
    }
  }
}