{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/apimatic/main/json-schema/apimatic-user-code-generation-schema.json", "title": "UserCodeGeneration", "description": "The Code Generation structure encapsulates all the the details of an SDK generation performed by a user.", "x-generated": "2026-09-23", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/apimatic-sdk-api-openapi.yml#/components/schemas/UserCodeGeneration", "type": "object", "additionalProperties": { "type": "object" }, "properties": { "id": { "description": "Unique Code Generation Identifier", "type": "string" }, "template": { "$ref": "#/$defs/Platforms" }, "generatedFile": { "description": "The generated SDK", "type": "string" }, "generatedOn": { "description": "Generation Date and Time", "type": "string", "format": "date-time" }, "hashCode": { "description": "The md5 hash of the API Description", "type": "string" }, "codeGenerationSource": { "description": "Generation Source", "type": "string" }, "codeGenVersion": { "description": "Generation Version", "type": "string" }, "success": { "description": "Generation Status", "type": "boolean" }, "userId": { "description": "Unique User Identifier", "type": "string" }, "inputFile": { "description": "API Specification file in a supported format", "type": "string" } }, "required": [ "id", "template", "generatedFile", "generatedOn", "hashCode", "codeGenerationSource", "codeGenVersion", "success", "userId", "inputFile" ], "$defs": { "Platforms": { "title": "Platforms", "description": "The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in.", "x-enum-elements": [ { "name": "CS_NET_STANDARD_LIB", "description": ".NET Standard Library" }, { "name": "JAVA_ECLIPSE_JRE_LIB", "description": "JAVA" }, { "name": "PHP_GENERIC_LIB_V2", "description": "PHP" }, { "name": "PYTHON_GENERIC_LIB", "description": "Python" }, { "name": "RUBY_GENERIC_LIB", "description": "Ruby" }, { "name": "TS_GENERIC_LIB", "description": "Typescript" }, { "name": "GO_GENERIC_LIB", "description": "Go" } ], "type": "string", "additionalProperties": false, "enum": [ "CS_NET_STANDARD_LIB", "JAVA_ECLIPSE_JRE_LIB", "PHP_GENERIC_LIB_V2", "PYTHON_GENERIC_LIB", "RUBY_GENERIC_LIB", "TS_GENERIC_LIB", "GO_GENERIC_LIB" ] } } }