{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/benchling/main/json-schema/benchling-nucleotide-alignment-schema.json",
  "title": "NucleotideAlignment",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/benchling-nucleotide-alignments-api-openapi.yml#/components/schemas/NucleotideAlignment",
  "allOf": [
    {
      "$ref": "#/$defs/NucleotideAlignmentSummary"
    },
    {
      "properties": {
        "alignedSequences": {
          "items": {
            "$ref": "#/$defs/AlignedNucleotideSequence"
          },
          "type": "array"
        }
      },
      "type": "object"
    }
  ],
  "type": "object",
  "$defs": {
    "AlignedNucleotideSequence": {
      "properties": {
        "bases": {
          "type": "string"
        },
        "dnaSequenceId": {
          "deprecated": true,
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": "string"
        },
        "pairwiseIdentity": {
          "description": "Fraction of bases between trimStart and trimEnd that match the template bases. Only present for Template Alignments; Will be empty for Consensus Alignments.\n",
          "format": "float",
          "type": "number"
        },
        "sequenceId": {
          "type": [
            "string",
            "null"
          ]
        },
        "trimEnd": {
          "type": "integer"
        },
        "trimStart": {
          "type": "integer"
        }
      },
      "type": "object"
    },
    "NucleotideAlignmentSummary": {
      "properties": {
        "apiURL": {
          "description": "The canonical url of the Alignment in the API.",
          "format": "uri",
          "type": "string"
        },
        "createdAt": {
          "description": "DateTime the Alignment was created",
          "format": "date-time",
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "modifiedAt": {
          "description": "DateTime the Alignment was last modified",
          "format": "date-time",
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "referenceSequenceId": {
          "description": "The ID of the template or consensus Sequence associated with the Alignment",
          "type": "string"
        },
        "webURL": {
          "description": "The Benchling web UI url to view the Alignment",
          "format": "uri",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}