{
    "openapi": "3.1.0",
    "info": {
        "title": "overwritten by spec-override.yaml",
        "description": "overwritten by spec-override.yaml",
        "version": "overwritten by spec-override.yaml"
    },
    "paths": {
        "/v2/health/ready": {
            "get": {
                "summary": "Models V2 Health Ready Get",
                "operationId": "models_v2_health_ready_get_v2_health_ready_get",
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "boolean",
                                    "title": "Response Models V2 Health Ready Get V2 Health Ready Get"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/biology/openfold/openfold2/predict-structure-from-msa-and-template": {
            "post": {
                "summary": "Nim Api Post Call Monomer Structure From Msa And Template",
                "operationId": "nim_api_post_call_monomer_structure_from_msa_and_template_biology_openfold_openfold2_predict_structure_from_msa_and_template_post",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/OF2MonomerInput"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/OF2MonomerOutput"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation Error",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/HTTPValidationError"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/health/live": {
            "get": {
                "summary": "Health Live",
                "description": "Provide your implementation of liveness to know when to restart container",
                "operationId": "health_live_v1_health_live_get",
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    }
                }
            }
        },
        "/v1/health/ready": {
            "get": {
                "summary": "Health Ready",
                "description": "Provide your implementation of readiness to know when container ready to accept traffic",
                "operationId": "health_ready_v1_health_ready_get",
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    }
                }
            }
        },
        "/v1/metrics": {
            "get": {
                "summary": "Metrics",
                "description": "Handler for metrics endpoint.",
                "operationId": "metrics_v1_metrics_get",
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "string",
                                    "title": "Response Metrics V1 Metrics Get"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/license": {
            "get": {
                "summary": "License",
                "description": "Handler for license endpoint.",
                "operationId": "license_v1_license_get",
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/LicenseEndpointModel"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/metadata": {
            "get": {
                "summary": "Metadata",
                "description": "Handler for metadata endpoint.",
                "operationId": "metadata_v1_metadata_get",
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/MetadataEndpointModel"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/manifest": {
            "get": {
                "summary": "Manifest",
                "description": "Handler for the manifest endpoint.",
                "operationId": "manifest_v1_manifest_get",
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ManifestEndpointModel"
                                }
                            }
                        }
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "AlignmentFileRecord": {
                "properties": {
                    "alignment": {
                        "type": "string",
                        "title": "Multiple Sequence Alignment.",
                        "description": "The contents of a single MSA.",
                        "tooltip": "The contents of a single MSA."
                    },
                    "format": {
                        "$ref": "#/components/schemas/Alignment_Format_Constants",
                        "title": "Alignment Format",
                        "description": "The format of the alignment record(s). This should be a3m.",
                        "tooltip": ""
                    }
                },
                "type": "object",
                "required": [
                    "alignment",
                    "format"
                ],
                "title": "AlignmentFileRecord",
                "description": "Represents a single alignment.\nThis is just the raw file output read into a string\nand of a defined version."
            },
            "Alignment_Format_Constants": {
                "type": "string",
                "enum": [
                    "a3m"
                ],
                "title": "Alignment_Format_Constants"
            },
            "Checksum": {
                "properties": {
                    "checksum": {
                        "type": "string",
                        "title": "Checksum",
                        "description": "The hexadecimal representation of the checksum.",
                        "tooltip": "The checksum value in hexadecimal format."
                    },
                    "algorithm": {
                        "$ref": "#/components/schemas/HashAlgorithm",
                        "title": "Algorithm",
                        "description": "The algorithm used to generate the checksum.",
                        "tooltip": "The hash algorithm used (blake3 if available, otherwise sha256)."
                    }
                },
                "type": "object",
                "required": [
                    "checksum"
                ],
                "title": "Checksum",
                "description": "Represents a checksum of data using a specific algorithm."
            },
            "HTTPValidationError": {
                "properties": {
                    "detail": {
                        "items": {
                            "$ref": "#/components/schemas/ValidationError"
                        },
                        "type": "array",
                        "title": "Detail"
                    }
                },
                "type": "object",
                "title": "HTTPValidationError"
            },
            "HashAlgorithm": {
                "type": "string",
                "enum": [
                    "sha256",
                    "blake3"
                ],
                "title": "HashAlgorithm",
                "description": "Supported hash algorithms for checksums."
            },
            "LicenseEndpointModel": {
                "properties": {
                    "name": {
                        "type": "string",
                        "title": "Name",
                        "description": "The name of the license for the NIM container."
                    },
                    "path": {
                        "type": "string",
                        "title": "Path",
                        "description": "The filepath within the container containing the license content."
                    },
                    "sha": {
                        "type": "string",
                        "title": "Sha",
                        "description": "A SHA1 hash of the license contents."
                    },
                    "size": {
                        "type": "integer",
                        "title": "Size",
                        "description": "The number of characters in the license content."
                    },
                    "url": {
                        "type": "string",
                        "title": "Url",
                        "description": "The url where this license is hosted externally."
                    },
                    "type": {
                        "type": "string",
                        "const": "file",
                        "title": "Type",
                        "description": "The format of the license content."
                    },
                    "content": {
                        "type": "string",
                        "title": "Content",
                        "description": "The license text."
                    }
                },
                "type": "object",
                "required": [
                    "name",
                    "path",
                    "sha",
                    "size",
                    "url",
                    "type",
                    "content"
                ],
                "title": "LicenseEndpointModel",
                "description": "A model representing the license response."
            },
            "ManifestEndpointModel": {
                "properties": {
                    "manifest_file": {
                        "type": "string",
                        "title": "Manifest File",
                        "description": "The content of the manifest file describing the required model artifacts."
                    },
                    "repository_override": {
                        "type": "string",
                        "title": "Repository Override",
                        "description": "Alternate location used to retrieve artifacts from manifest file."
                    }
                },
                "type": "object",
                "required": [
                    "manifest_file",
                    "repository_override"
                ],
                "title": "ManifestEndpointModel",
                "description": "A model representing the manifest response."
            },
            "MetadataEndpointModel": {
                "properties": {
                    "assetInfo": {
                        "items": {
                            "type": "string"
                        },
                        "type": "array",
                        "title": "Assetinfo",
                        "description": "A list of required container assets excluding model artifacts"
                    },
                    "licenseInfo": {
                        "$ref": "#/components/schemas/LicenseEndpointModel",
                        "description": "The license info."
                    },
                    "modelInfo": {
                        "items": {
                            "$ref": "#/components/schemas/ModelInfo"
                        },
                        "type": "array",
                        "title": "Modelinfo",
                        "description": "A list of models being served by the NIM."
                    },
                    "repository_override": {
                        "type": "string",
                        "title": "Repository Override",
                        "description": "Alternate location used to retrieve artifacts from manifest file."
                    },
                    "version": {
                        "type": "string",
                        "title": "Version",
                        "description": "The version of the NIM service."
                    },
                    "selectedModelProfileId": {
                        "type": "string",
                        "title": "Selected Model Profile Id",
                        "description": "The ID of the currently selected model profile."
                    }
                },
                "type": "object",
                "required": [
                    "assetInfo",
                    "licenseInfo",
                    "modelInfo",
                    "repository_override",
                    "version",
                    "selectedModelProfileId"
                ],
                "title": "MetadataEndpointModel",
                "description": "A model representing the metadata response."
            },
            "ModelInfo": {
                "properties": {
                    "modelUrl": {
                        "type": "string",
                        "title": "Modelurl"
                    },
                    "shortName": {
                        "type": "string",
                        "title": "Shortname"
                    }
                },
                "type": "object",
                "required": [
                    "modelUrl",
                    "shortName"
                ],
                "title": "ModelInfo",
                "description": "A model representing the model response."
            },
            "OF2MonomerInput": {
                "properties": {
                    "sequence": {
                        "type": "string",
                        "maxLength": 2048,
                        "minLength": 1,
                        "pattern": "^[ARNDCQEGHILKMFPSTWYV]+$",
                        "title": "Input Polypeptide Sequence",
                        "description": "An input polypeptide (i.e., amino acid) sequence that must be composed of valid Amino Acid IUPAC symbols."
                    },
                    "input_id": {
                        "anyOf": [
                            {
                                "type": "string",
                                "maxLength": 128
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Identifier / tag for the input.",
                        "description": "Identifier / tag for the input.",
                        "examples": [
                            "7WBN_A",
                            "7ONG_A"
                        ]
                    },
                    "alignments": {
                        "anyOf": [
                            {
                                "additionalProperties": {
                                    "additionalProperties": {
                                        "$ref": "#/components/schemas/AlignmentFileRecord"
                                    },
                                    "type": "object"
                                },
                                "type": "object"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Alignments",
                        "description": "The multiple-sequence-alignment, must be in a3m format.",
                        "tooltip": "See the API specification for how to format this field."
                    },
                    "selected_models": {
                        "anyOf": [
                            {
                                "items": {
                                    "type": "integer"
                                },
                                "type": "array",
                                "maxItems": 5,
                                "minItems": 1
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Selected models for structure prediction.",
                        "description": "Allows selecting the parameters used for protein structure prediction.",
                        "default": [
                            1,
                            2,
                            3,
                            4,
                            5
                        ],
                        "tooltip": "A list of up to five values, in the range 1-5."
                    },
                    "relax_prediction": {
                        "anyOf": [
                            {
                                "type": "boolean"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Relax Prediction",
                        "description": "Run structural relaxation after prediction",
                        "default": false
                    },
                    "use_templates": {
                        "anyOf": [
                            {
                                "type": "boolean"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Use the template as features",
                        "description": "Use the templates, if provided, as features for structure prediction.",
                        "default": false,
                        "tooltip": "Use the templates, if provided, as features for structure prediction."
                    },
                    "explicit_templates": {
                        "anyOf": [
                            {
                                "items": {
                                    "$ref": "#/components/schemas/StructuralTemplate"
                                },
                                "type": "array"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Explicit templates",
                        "description": "List of user-supplied structural templates in mmCIF format.",
                        "tooltip": "Provide your own structural templates in mmCIF format."
                    }
                },
                "type": "object",
                "required": [
                    "sequence"
                ],
                "title": "OF2MonomerInput"
            },
            "OF2MonomerOutput": {
                "properties": {
                    "structures_in_ranked_order": {
                        "items": {
                            "$ref": "#/components/schemas/OF2StructureRecord"
                        },
                        "type": "array",
                        "title": "Structures In Ranked Order",
                        "description": "",
                        "default": [],
                        "examples": []
                    },
                    "input_id": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Identifier / tag for the input.",
                        "description": "Identifier / tag for the input.",
                        "examples": [
                            "7WBN_A",
                            "7ONG_A"
                        ]
                    },
                    "metrics": {
                        "additionalProperties": true,
                        "type": "object",
                        "title": "Metrics",
                        "description": "Metrics for the structure prediction.",
                        "default": {},
                        "examples": [
                            {
                                "relaxation_time_in_seconds": 81.2
                            }
                        ]
                    },
                    "of2_nim_handled_error_message": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Handled error",
                        "description": "Handled error",
                        "default": "no-handled-error",
                        "examples": []
                    }
                },
                "type": "object",
                "title": "OF2MonomerOutput"
            },
            "OF2StructureRecord": {
                "properties": {
                    "structure": {
                        "type": "string",
                        "title": "Structure.",
                        "description": "Predicted structure coordinates (PDB or mmCIF text).",
                        "tooltip": "Predicted structure file contents."
                    },
                    "format": {
                        "type": "string",
                        "title": "Structure format",
                        "description": "The format of the structure, pdb or mmcif.",
                        "tooltip": ""
                    },
                    "relaxed": {
                        "type": "boolean",
                        "title": "Relaxed",
                        "description": "Was relaxation applied.",
                        "tooltip": ""
                    },
                    "rank_by_confidence": {
                        "type": "integer",
                        "title": "",
                        "description": "",
                        "tooltip": ""
                    },
                    "confidence": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Confidence used to rank.",
                        "description": "Confidence used to rank.",
                        "tooltip": ""
                    },
                    "model_param_set": {
                        "anyOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Model parameter set used for this prediction.",
                        "description": "Model parameter set used for this prediction",
                        "tooltip": ""
                    },
                    "plddt": {
                        "anyOf": [
                            {
                                "items": {
                                    "type": "number"
                                },
                                "type": "array"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Per-residue pLDDT",
                        "description": "Predicted local-distance difference test confidence per residue (0–100), one value per residue in model order."
                    },
                    "predicted_aligned_error": {
                        "anyOf": [
                            {},
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Predicted aligned error (PAE)",
                        "description": "Expected aligned distance error per residue pair; nested lists. Omitted when the TM head is disabled."
                    },
                    "max_predicted_aligned_error": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "items": {},
                                "type": "array"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Maximum PAE",
                        "description": "Upper bound of the PAE binning scheme used for this prediction (scalar or per-batch list). Omitted when the TM head is disabled."
                    },
                    "aligned_confidence_probs": {
                        "anyOf": [
                            {},
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Aligned confidence probabilities",
                        "description": "Per-residue-pair bin probabilities from the predicted aligned error head (same as compute_predicted_aligned_error in openfold.utils.loss); serialized as nested lists. Omitted when the TM head is disabled."
                    },
                    "ptm_score": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "pTM score",
                        "description": "Predicted TM score for the full structure when the TM confidence head is enabled; null when the head is disabled or the score is unavailable."
                    }
                },
                "type": "object",
                "required": [
                    "structure",
                    "format",
                    "relaxed",
                    "rank_by_confidence",
                    "confidence"
                ],
                "title": "OF2StructureRecord",
                "description": "Include rank_by_confidence as self-documenting."
            },
            "StructuralTemplate": {
                "properties": {
                    "structure": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "string",
                                "format": "binary"
                            }
                        ],
                        "title": "Structural Template",
                        "description": "The contents of a single structural template.",
                        "tooltip": "The contents of a single structure template."
                    },
                    "format": {
                        "type": "string",
                        "enum": [
                            "mmcif",
                            "mmcif.gz"
                        ],
                        "title": "Structure Format",
                        "description": "The format of the structure record. Can be uncompressed (mmcif) or gzipped (mmcif.gz).",
                        "tooltip": "The format of the structure file. Currently supports MMCIF in both compressed and uncompressed formats."
                    },
                    "name": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Name",
                        "description": "An optional name for the structure.",
                        "default": "",
                        "tooltip": "An optional name to identify this structure."
                    },
                    "source": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Source",
                        "description": "The source file for the structure.",
                        "default": "",
                        "tooltip": "The original file or data source that was used to generate this structure."
                    },
                    "rank": {
                        "anyOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Rank",
                        "description": "An integer rank to define the ordering of alignments (for example, when concatenating alignments).",
                        "default": -1,
                        "tooltip": "An optional integer rank."
                    },
                    "checksum": {
                        "anyOf": [
                            {
                                "$ref": "#/components/schemas/Checksum"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Checksum",
                        "description": "Optional checksum of the structure data.",
                        "tooltip": "Checksum of the structure data for verification purposes."
                    },
                    "compression_ratio": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Compression Ratio",
                        "description": "The compression ratio achieved when the structure was compressed (original size / compressed size).",
                        "tooltip": "The ratio between original and compressed sizes. Only set when structure is compressed."
                    }
                },
                "type": "object",
                "required": [
                    "structure",
                    "format"
                ],
                "title": "StructuralTemplate",
                "description": "Represents a single structural template.\nThis is the raw file output read into a string\nand of a defined format."
            },
            "ValidationError": {
                "properties": {
                    "loc": {
                        "items": {
                            "anyOf": [
                                {
                                    "type": "string"
                                },
                                {
                                    "type": "integer"
                                }
                            ]
                        },
                        "type": "array",
                        "title": "Location"
                    },
                    "msg": {
                        "type": "string",
                        "title": "Message"
                    },
                    "type": {
                        "type": "string",
                        "title": "Error Type"
                    }
                },
                "type": "object",
                "required": [
                    "loc",
                    "msg",
                    "type"
                ],
                "title": "ValidationError"
            }
        }
    }
}