Templates · Schema

API Template

Schema for an API template artifact including metadata, engine requirements, and variable definitions

TemplatesAPI DesignCode GenerationDocumentationOpenAPIAsyncAPI

Properties

Name Type Description
name string Human-readable name of the template
description string Description of the template's purpose and use case
version string Template version following semver
templateEngine string Templating engine required to render this template
targetLanguage string Primary output language or format
targetFramework string Target framework or library
variables array Template variable definitions
tags array Categorization tags
license string SPDX license identifier
repositoryUrl string Source repository URL
View JSON Schema on GitHub

JSON Schema

templates-template-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.com/schemas/templates/template.json",
  "title": "API Template",
  "description": "Schema for an API template artifact including metadata, engine requirements, and variable definitions",
  "type": "object",
  "required": ["name", "templateEngine", "version"],
  "properties": {
    "name": {
      "type": "string",
      "description": "Human-readable name of the template",
      "example": "OpenAPI REST API Template"
    },
    "description": {
      "type": "string",
      "description": "Description of the template's purpose and use case"
    },
    "version": {
      "type": "string",
      "description": "Template version following semver",
      "pattern": "^\\d+\\.\\d+\\.\\d+$",
      "example": "1.0.0"
    },
    "templateEngine": {
      "type": "string",
      "description": "Templating engine required to render this template",
      "enum": ["mustache", "handlebars", "jinja2", "liquid", "ejs", "erb", "freemarker"],
      "example": "mustache"
    },
    "targetLanguage": {
      "type": "string",
      "description": "Primary output language or format",
      "example": "typescript"
    },
    "targetFramework": {
      "type": "string",
      "description": "Target framework or library",
      "example": "express"
    },
    "variables": {
      "type": "array",
      "description": "Template variable definitions",
      "items": {
        "type": "object",
        "required": ["name", "type"],
        "properties": {
          "name": {
            "type": "string",
            "description": "Variable name as it appears in the template"
          },
          "type": {
            "type": "string",
            "enum": ["string", "boolean", "integer", "array", "object"],
            "description": "Variable data type"
          },
          "required": {
            "type": "boolean",
            "default": false,
            "description": "Whether this variable is required"
          },
          "default": {
            "description": "Default value if variable is not provided"
          },
          "description": {
            "type": "string",
            "description": "Description of the variable's purpose"
          }
        }
      }
    },
    "tags": {
      "type": "array",
      "description": "Categorization tags",
      "items": {
        "type": "string"
      },
      "example": ["OpenAPI", "REST", "TypeScript"]
    },
    "license": {
      "type": "string",
      "description": "SPDX license identifier",
      "example": "Apache-2.0"
    },
    "repositoryUrl": {
      "type": "string",
      "format": "uri",
      "description": "Source repository URL"
    }
  }
}

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/templates-template"
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 email required.

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