DevArmor · Schema

Threat

CompanySecurityAIThreat ModelingDevOps

Properties

Name Type Description
symbolic_name string
title string
description string
event string
sources array
capec_attack_mechanism object
cwe_vulnerabilities object
stride_category object
scope_specific boolean
created_at string
updated_at string
id integer
project object
threat_model_versions array
threat_persona object
components_affected object
mitre_attack_techniques object
View JSON Schema on GitHub

JSON Schema

devarmor-threat-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/devarmor/json-schema/devarmor-threat-schema.json",
  "title": "Threat",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/devarmor-openapi.json#/components/schemas/Threat",
  "properties": {
    "symbolic_name": {
      "type": "string",
      "pattern": "^[0-9a-z-]+$",
      "title": "Symbolic Name"
    },
    "title": {
      "type": "string",
      "title": "Title"
    },
    "description": {
      "type": "string",
      "title": "Description"
    },
    "event": {
      "type": "string",
      "title": "Event"
    },
    "sources": {
      "items": {
        "$ref": "#/$defs/ThreatSource"
      },
      "type": "array",
      "title": "Sources"
    },
    "capec_attack_mechanism": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Capec Attack Mechanism"
    },
    "cwe_vulnerabilities": {
      "anyOf": [
        {
          "items": {
            "type": "integer"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cwe Vulnerabilities"
    },
    "stride_category": {
      "anyOf": [
        {
          "$ref": "#/$defs/ThreatSTRIDECategory"
        },
        {
          "type": "null"
        }
      ]
    },
    "scope_specific": {
      "type": "boolean",
      "title": "Scope Specific",
      "default": true,
      "deprecated": true
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Updated At"
    },
    "id": {
      "type": "integer",
      "title": "Id"
    },
    "project": {
      "$ref": "#/$defs/Project"
    },
    "threat_model_versions": {
      "items": {
        "type": "string",
        "pattern": "^\\d+(\\.\\d+)*$"
      },
      "type": "array",
      "title": "Threat Model Versions"
    },
    "threat_persona": {
      "anyOf": [
        {
          "$ref": "#/$defs/ThreatPersona"
        },
        {
          "type": "null"
        }
      ]
    },
    "components_affected": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/Component"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Components Affected"
    },
    "mitre_attack_techniques": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/RefMitreAttackTechnique"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Mitre Attack Techniques"
    }
  },
  "type": "object",
  "required": [
    "symbolic_name",
    "title",
    "description",
    "event",
    "sources",
    "id",
    "project",
    "threat_model_versions",
    "threat_persona",
    "components_affected"
  ],
  "$defs": {
    "AccessLevel": {
      "type": "string",
      "enum": [
        "anonymous",
        "user",
        "admin"
      ],
      "title": "AccessLevel"
    },
    "AttackerSkillAndKnowledge": {
      "type": "string",
      "enum": [
        "script_kid",
        "insider",
        "engineer",
        "expert_engineer",
        "oc_sponsored",
        "state_sponsored"
      ],
      "title": "AttackerSkillAndKnowledge"
    },
    "Component": {
      "properties": {
        "symbolic_name": {
          "type": "string",
          "pattern": "^[0-9a-z-]+$",
          "title": "Symbolic Name"
        },
        "title": {
          "type": "string",
          "title": "Title"
        },
        "description": {
          "type": "string",
          "title": "Description"
        },
        "repo_link": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2083,
              "minLength": 1,
              "format": "uri"
            },
            {
              "type": "null"
            }
          ],
          "title": "Repo Link"
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "title": "Created At"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "title": "Updated At"
        },
        "id": {
          "type": "integer",
          "title": "Id"
        },
        "project": {
          "$ref": "#/$defs/Project"
        },
        "threat_model_versions": {
          "items": {
            "type": "string",
            "pattern": "^\\d+(\\.\\d+)*$"
          },
          "type": "array",
          "title": "Threat Model Versions"
        },
        "parent_component": {
          "anyOf": [
            {
              "$ref": "#/$defs/Component"
            },
            {
              "type": "null"
            }
          ]
        },
        "trust_zone": {
          "anyOf": [
            {
              "$ref": "#/$defs/TrustZone"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "type": "object",
      "required": [
        "symbolic_name",
        "title",
        "description",
        "repo_link",
        "id",
        "project",
        "threat_model_versions",
        "trust_zone"
      ],
      "title": "Component"
    },
    "Degree": {
      "type": "string",
      "enum": [
        "minimal",
        "low",
        "moderate",
        "high",
        "maximal"
      ],
      "title": "Degree"
    },
    "Project": {
      "properties": {
        "symbolic_name": {
          "type": "string",
          "pattern": "^[0-9a-z-]+$",
          "title": "Symbolic Name"
        },
        "title": {
          "type": "string",
          "title": "Title"
        },
        "default": {
          "type": "boolean",
          "title": "Default",
          "default": false
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Description"
        },
        "use_memory": {
          "type": "boolean",
          "title": "Use Memory",
          "default": true
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "title": "Created At"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "title": "Updated At"
        },
        "id": {
          "type": "integer",
          "title": "Id"
        },
        "owner_user": {
          "$ref": "#/$defs/User"
        },
        "memory_effective": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Memory Effective"
        },
        "memory_effective_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Memory Effective Reason"
        }
      },
      "type": "object",
      "required": [
        "symbolic_name",
        "title",
        "id",
        "owner_user"
      ],
      "title": "Project"
    },
    "RefMitreAttackTactic": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        }
      },
      "type": "object",
      "required": [
        "id",
        "name"
      ],
      "title": "RefMitreAttackTactic"
    },
    "RefMitreAttackTechnique": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "tactics": {
          "items": {
            "$ref": "#/$defs/RefMitreAttackTactic"
          },
          "type": "array",
          "title": "Tactics"
        }
      },
      "type": "object",
      "required": [
        "id",
        "name",
        "tactics"
      ],
      "title": "RefMitreAttackTechnique"
    },
    "ThreatPersona": {
      "properties": {
        "symbolic_name": {
          "type": "string",
          "pattern": "^[0-9a-z-]+$",
          "title": "Symbolic Name"
        },
        "title": {
          "type": "string",
          "title": "Title"
        },
        "description": {
          "type": "string",
          "title": "Description"
        },
        "is_person": {
          "type": "boolean",
          "title": "Is Person"
        },
        "skill_level": {
          "$ref": "#/$defs/AttackerSkillAndKnowledge"
        },
        "access_level": {
          "$ref": "#/$defs/AccessLevel"
        },
        "malicious_intent": {
          "type": "boolean",
          "title": "Malicious Intent"
        },
        "applicability_to_org": {
          "$ref": "#/$defs/Degree"
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "title": "Created At"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "title": "Updated At"
        },
        "id": {
          "type": "integer",
          "title": "Id"
        },
        "project": {
          "$ref": "#/$defs/Project"
        },
        "threat_model_versions": {
          "items": {
            "type": "string",
            "pattern": "^\\d+(\\.\\d+)*$"
          },
          "type": "array",
          "title": "Threat Model Versions"
        }
      },
      "type": "object",
      "required": [
        "symbolic_name",
        "title",
        "description",
        "is_person",
        "skill_level",
        "access_level",
        "malicious_intent",
        "applicability_to_org",
        "id",
        "project",
        "threat_model_versions"
      ],
      "title": "ThreatPersona"
    },
    "ThreatSTRIDECategory": {
      "type": "string",
      "enum": [
        "spoofing",
        "tampering",
        "repudiation",
        "information_disclosure",
        "denial_of_service",
        "elevation_of_privilege"
      ],
      "title": "ThreatSTRIDECategory"
    },
    "ThreatSource": {
      "type": "string",
      "enum": [
        "adversary",
        "human_error",
        "failure",
        "events_beyond_org_control"
      ],
      "title": "ThreatSource"
    },
    "TrustZone": {
      "properties": {
        "symbolic_name": {
          "type": "string",
          "pattern": "^[0-9a-z-]+$",
          "title": "Symbolic Name"
        },
        "title": {
          "type": "string",
          "title": "Title"
        },
        "description": {
          "type": "string",
          "title": "Description"
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "title": "Created At"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "title": "Updated At"
        },
        "id": {
          "type": "integer",
          "title": "Id"
        },
        "project": {
          "$ref": "#/$defs/Project"
        },
        "threat_model_versions": {
          "items": {
            "type": "string",
            "pattern": "^\\d+(\\.\\d+)*$"
          },
          "type": "array",
          "title": "Threat Model Versions"
        }
      },
      "type": "object",
      "required": [
        "symbolic_name",
        "title",
        "description",
        "id",
        "project",
        "threat_model_versions"
      ],
      "title": "TrustZone"
    },
    "User": {
      "properties": {
        "email": {
          "type": "string",
          "title": "Email"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "state": {
          "$ref": "#/$defs/UserState",
          "default": "active"
        },
        "roles": {
          "items": {
            "$ref": "#/$defs/UserRole"
          },
          "type": "array",
          "title": "Roles",
          "default": []
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "title": "Created At"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "title": "Updated At"
        },
        "id": {
          "type": "integer",
          "title": "Id"
        }
      },
      "type": "object",
      "required": [
        "email",
        "name",
        "id"
      ],
      "title": "User"
    },
    "UserRole": {
      "type": "string",
      "enum": [
        "admin",
        "customer_support"
      ],
      "title": "UserRole"
    },
    "UserState": {
      "type": "string",
      "enum": [
        "active",
        "inactive",
        "pending_org_approval"
      ],
      "title": "UserState"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/devarmor-threat"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.