Test Scripts · JSON Structure

Test Scripts Structure

Structural documentation for automated test scripts used in API quality assurance.

Type: object Properties: 0
AutomationCI/CDContract TestingQuality AssuranceSoftware DevelopmentTesting

Test Scripts Structure is a JSON Structure definition published by Test Scripts.

Meta-schema:

JSON Structure

Raw ↑
{
  "title": "Test Script Structure",
  "description": "Structural documentation for automated test scripts used in API quality assurance.",
  "type": "object",
  "fields": [
    {
      "name": "id",
      "type": "string",
      "required": true,
      "description": "Unique identifier for the test script."
    },
    {
      "name": "name",
      "type": "string",
      "required": true,
      "description": "Human-readable name."
    },
    {
      "name": "description",
      "type": "string",
      "required": false,
      "description": "Detailed description of what the script validates."
    },
    {
      "name": "type",
      "type": "string",
      "required": true,
      "enum": ["unit", "integration", "end-to-end", "contract", "performance", "security", "smoke", "regression"],
      "description": "Test category."
    },
    {
      "name": "framework",
      "type": "string",
      "required": false,
      "description": "Testing framework (Postman, Karate, Playwright, k6, etc.)."
    },
    {
      "name": "language",
      "type": "string",
      "required": false,
      "description": "Script programming language."
    },
    {
      "name": "target",
      "type": "object",
      "required": true,
      "description": "The API or endpoint under test.",
      "fields": [
        { "name": "url", "type": "string", "format": "uri", "required": true },
        { "name": "method", "type": "string", "required": false },
        { "name": "path", "type": "string", "required": false },
        { "name": "operationId", "type": "string", "required": false }
      ]
    },
    {
      "name": "assertions",
      "type": "array",
      "required": false,
      "description": "Assertions validated by the script.",
      "items": {
        "type": "object",
        "fields": [
          { "name": "type", "type": "string", "required": true },
          { "name": "description", "type": "string", "required": true },
          { "name": "expected", "type": "any", "required": false }
        ]
      }
    },
    {
      "name": "tags",
      "type": "array",
      "required": false,
      "description": "Classification labels."
    },
    {
      "name": "environment",
      "type": "string",
      "required": false,
      "enum": ["development", "staging", "production", "ci"],
      "description": "Target environment."
    },
    {
      "name": "ci",
      "type": "object",
      "required": false,
      "description": "CI/CD integration details.",
      "fields": [
        { "name": "platform", "type": "string", "required": false },
        { "name": "workflow", "type": "string", "required": false },
        { "name": "trigger", "type": "string", "required": false }
      ]
    },
    { "name": "created", "type": "string", "format": "date", "required": false },
    { "name": "modified", "type": "string", "format": "date", "required": false }
  ]
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/test-scripts-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

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

Get an API key

Free tier, no email required.

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