<commit_before>{
    "title": "Enzyme",
    "description": "Schema for submitting an enzyme used for digestion of DNA as part of the chromatin capture assay.",
    "id": "/profiles/enzyme.json",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "required": [ "name", "enzyme_source", "award", "lab"],
    "identifyingProperties": ["uuid","aliases","name"],
    "additionalProperties": false,
    "mixinProperties": [
        { "$ref": "mixins.json#/schema_version" },
        { "$ref": "mixins.json#/uuid" },
        { "$ref": "mixins.json#/aliases" },
        { "$ref": "mixins.json#/attachment" },
        { "$ref": "mixins.json#/attribution" },
        { "$ref": "mixins.json#/submitted" },
        { "$ref": "mixins.json#/notes" },
        { "$ref": "mixins.json#/documents" },
        { "$ref": "mixins.json#/status" }
    ],
    "properties": {
        "schema_version": {
            "default": "1"
        },
        "name": {
            "title": "Enzyme Name",
            "description": "The name of the digestion enzyme.",
            "type": "string",
            "uniqueKey": "enzyme:name"
        },
        "description": {
            "title": "Description",
            "description": "A plain text description of the enzyme.",
            "type": "string"
        },
        "enzyme_source": {
            "title": "Enzyme Source",
            "description": "The Lab or Vendor that provided the enzyme.",
            "type": "string",
            "linkTo": "Vendor"
        },
        "catalog_number": {
            "title": "Product Catalog Number",
            "description": "A plain text for catalog description.",
            "type": "string"
        },
        "recognition_sequence": {
            "title": "Cut Sequence",
            "description": "The bases of the enzyme recognition sequence.",
            "type": "string",
            "pattern": "^[ATGCN]+$"
        },
        "site_length": {
          "title": "Site Length",
          "description": "The length of the enzyme recognition sequence.",
          "type": "integer",
          "internal_comment": "this can be calculated if a recognition sequence is provided but can be set even without recognition sequence"
        },
        "cut_position": {
          "title": "Cut position",
          "description": "The position in the provided recognition sequence at which the enzyme cuts AFTER - relative to base 1 of site.",
          "type": "integer",
          "internal_comment": "has a dependency on either cut_sequence or site_length"
        },
        "url": {
            "title": "URL",
            "description": "An external resource with additional information about the construct.",
            "type": "string",
            "format": "uri"
        }
    }
}
<commit_msg>Delete attachment from enzyme, keep document<commit_after>{
    "title": "Enzyme",
    "description": "Schema for submitting an enzyme used for digestion of DNA as part of the chromatin capture assay.",
    "id": "/profiles/enzyme.json",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "required": [ "name", "enzyme_source", "award", "lab"],
    "identifyingProperties": ["uuid","aliases","name"],
    "additionalProperties": false,
    "mixinProperties": [
        { "$ref": "mixins.json#/schema_version" },
        { "$ref": "mixins.json#/uuid" },
        { "$ref": "mixins.json#/aliases" },
        { "$ref": "mixins.json#/attribution" },
        { "$ref": "mixins.json#/submitted" },
        { "$ref": "mixins.json#/notes" },
        { "$ref": "mixins.json#/documents" },
        { "$ref": "mixins.json#/status" }
    ],
    "properties": {
        "schema_version": {
            "default": "1"
        },
        "name": {
            "title": "Enzyme Name",
            "description": "The name of the digestion enzyme.",
            "type": "string",
            "uniqueKey": "enzyme:name"
        },
        "description": {
            "title": "Description",
            "description": "A plain text description of the enzyme.",
            "type": "string"
        },
        "enzyme_source": {
            "title": "Enzyme Source",
            "description": "The Lab or Vendor that provided the enzyme.",
            "type": "string",
            "linkTo": "Vendor"
        },
        "catalog_number": {
            "title": "Product Catalog Number",
            "description": "A plain text for catalog description.",
            "type": "string"
        },
        "recognition_sequence": {
            "title": "Cut Sequence",
            "description": "The bases of the enzyme recognition sequence.",
            "type": "string",
            "pattern": "^[ATGCN]+$"
        },
        "site_length": {
          "title": "Site Length",
          "description": "The length of the enzyme recognition sequence.",
          "type": "integer",
          "internal_comment": "this can be calculated if a recognition sequence is provided but can be set even without recognition sequence"
        },
        "cut_position": {
          "title": "Cut position",
          "description": "The position in the provided recognition sequence at which the enzyme cuts AFTER - relative to base 1 of site.",
          "type": "integer",
          "internal_comment": "has a dependency on either cut_sequence or site_length"
        },
        "url": {
            "title": "URL",
            "description": "An external resource with additional information about the construct.",
            "type": "string",
            "format": "uri"
        }
    }
}

{'fraction_non_alphanumeric': 0.15734141126158233, 'fraction_numerical': 0.0014255167498218105, 'mean_word_length': 2.063864628820961, 'pattern_counts': {'":': 117, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2467523', 'n_tokens_mistral': 1573, 'n_tokens_neox': 1502, 'n_words': 441}