Fern · JSON Structure

Fern Sdk Generator Structure

JSON Structure representation of a Fern SDK generator configuration.

Type: object Properties: 5 Required: 2
Agent ReadyAIAPI DefinitionsAsyncAPICode GenerationDeveloper ExperienceDeveloper PortalDocumentationgRPCllms.txtMCPOpenAPIOpenRPCPlatformProtobufSDKsWebSockets

FernSdkGenerator is a JSON Structure definition published by Fern, describing 5 properties, of which 2 are required. It conforms to the https://json-structure.org/2025/draft/schema meta-schema.

Properties

name language version output publish

Meta-schema: https://json-structure.org/2025/draft/schema

JSON Structure

fern-sdk-generator-structure.json Raw ↑
{
  "$schema": "https://json-structure.org/2025/draft/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fern/main/json-structure/fern-sdk-generator-structure.json",
  "name": "FernSdkGenerator",
  "description": "JSON Structure representation of a Fern SDK generator configuration.",
  "type": "object",
  "properties": {
    "name": {"type": "string"},
    "language": {
      "type": "string",
      "enum": ["typescript", "python", "go", "java", "csharp", "php", "ruby", "swift", "rust"]
    },
    "version": {"type": "string"},
    "output": {
      "type": "object",
      "properties": {
        "location": {"type": "string"},
        "package": {"type": "string"},
        "repository": {"type": "string"},
        "license": {"type": "string"}
      }
    },
    "publish": {
      "type": "object",
      "properties": {
        "onMerge": {"type": "boolean"},
        "preRelease": {"type": "boolean"}
      }
    }
  },
  "required": ["language", "name"]
}