Properties
| Name | Type | Description |
|---|---|---|
| name | string | |
| input | object | |
| expect | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/vulnify-io/json-schema/vulnify-io-policy-test-case-schema.json",
"title": "PolicyTestCase",
"x-generated": "2026-11-28",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/vulnify-io-openapi.json#/components/schemas/PolicyTestCase",
"type": "object",
"additionalProperties": false,
"required": [
"name",
"input"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"input": {
"$ref": "#/$defs/PolicyTestInput"
},
"expect": {
"$ref": "#/$defs/PolicyTestExpect"
}
},
"$defs": {
"PolicyTestExpect": {
"type": "object",
"additionalProperties": false,
"required": [
"decision"
],
"properties": {
"decision": {
"type": "string",
"enum": [
"ALLOW",
"REVIEW",
"BLOCK"
]
},
"policy": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "Expected matched policy name."
}
}
},
"PolicyTestInput": {
"type": "object",
"additionalProperties": false,
"required": [
"agent",
"action",
"resource"
],
"description": "action is an event action. resource is the resource name registered in the organization, not the policy resource classification. metadata is accepted and not used.",
"properties": {
"agent": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Agent name."
},
"action": {
"type": "string",
"enum": [
"READ_DATA",
"WRITE_DATA",
"DELETE_DATA",
"EXPORT_DATA",
"SEND_EMAIL"
]
},
"resource": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Resource name."
},
"destination": {
"type": "string",
"enum": [
"INTERNAL",
"EXTERNAL_EMAIL",
"EXTERNAL_API"
]
},
"recordsAffected": {
"type": "integer",
"minimum": 0,
"maximum": 100000000
},
"containsSensitiveData": {
"type": "boolean"
},
"metadata": {
"type": "object",
"additionalProperties": true,
"description": "Accepted and not used by the policy engine."
}
}
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/vulnify-io-policy-test-case"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.