<commit_before>{
  "displayName": "Twitter Universal Website Tag",
  "name": "twitter-uwt",
  "version": "1.0.0",
  "description": "Provides actions to send beacons to Twitter UWT Tag.",
  "author": {
    "name": "Twitter"
  },
  "viewBasePath": "src/view/",
  "actions": [
    {
      "displayName": "Pageview",
      "name": "pageview",
      "libPath": "src/lib/actions/sendPageview.js",
      "viewPath": "actions/sendPageview.html",
      "schema": {
        "$schema": "http://json-schema.org/draft-04/schema#",
        "type": "object",
        "properties": {}
      }
    },
    {
      "displayName": "Download",
      "name": "download",
      "libPath": "src/lib/actions/sendDownload.js",
      "viewPath": "actions/sendDownload.html",
      "schema": {
        "$schema": "http://json-schema.org/draft-04/schema#",
        "type": "object",
        "properties": {}
      }
    },
    {
      "displayName": "Signup",
      "name": "signup",
      "libPath": "src/lib/actions/sendSignup.js",
      "viewPath": "actions/sendSignup.html",
      "schema": {
        "$schema": "http://json-schema.org/draft-04/schema#",
        "type": "object",
        "properties": {}
      }
    },
    {
      "displayName": "Purchase",
      "name": "purchase",
      "libPath": "src/lib/actions/sendPurchase.js",
      "viewPath": "actions/sendPurchase.html",
      "schema": {
        "$schema": "http://json-schema.org/draft-04/schema#",
        "type": "object",
        "properties": {}
      }
    }
  ],
  "configuration": {
    "viewPath": "configuration/configuration.html",
    "schema": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "type": "object",
      "properties": {}
    }
  }
}
<commit_msg>Add JSON schema.<commit_after>{
  "displayName": "Twitter Universal Website Tag",
  "name": "twitter-uwt",
  "version": "1.0.0",
  "description": "Provides actions to send beacons to Twitter UWT Tag.",
  "author": {
    "name": "Twitter"
  },
  "viewBasePath": "src/view/",
  "actions": [
    {
      "displayName": "Pageview",
      "name": "pageview",
      "libPath": "src/lib/actions/sendPageview.js",
      "viewPath": "actions/sendPageview.html",
      "schema": {
        "$schema": "http://json-schema.org/draft-04/schema#",
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "minLength": 1
          },
          "currency": {
            "type": "string",
            "minLength": 1
          },
          "num_items": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      }
    },
    {
      "displayName": "Download",
      "name": "download",
      "libPath": "src/lib/actions/sendDownload.js",
      "viewPath": "actions/sendDownload.html",
      "schema": {
        "$schema": "http://json-schema.org/draft-04/schema#",
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "minLength": 1
          },
          "currency": {
            "type": "string",
            "minLength": 1
          },
          "content_name": {
            "type": "string",
            "minLength": 1
          },
          "content_category": {
            "type": "string",
            "minLength": 1
          },
          "num_items": {
            "type": "string",
            "minLength": 1
          },
          "content_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "order_id": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      }
    },
    {
      "displayName": "Signup",
      "name": "signup",
      "libPath": "src/lib/actions/sendSignup.js",
      "viewPath": "actions/sendSignup.html",
      "schema": {
        "$schema": "http://json-schema.org/draft-04/schema#",
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "minLength": 1
          },
          "currency": {
            "type": "string",
            "minLength": 1
          },
          "content_name": {
            "type": "string",
            "minLength": 1
          },
          "content_category": {
            "type": "string",
            "minLength": 1
          },
          "order_id": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      }
    },
    {
      "displayName": "Purchase",
      "name": "purchase",
      "libPath": "src/lib/actions/sendPurchase.js",
      "viewPath": "actions/sendPurchase.html",
      "schema": {
        "$schema": "http://json-schema.org/draft-04/schema#",
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "minLength": 1
          },
          "currency": {
            "type": "string",
            "minLength": 1
          },
          "content_name": {
            "type": "string",
            "minLength": 1
          },
          "content_type": {
            "type": "string",
            "minLength": 1
          },
          "num_items": {
            "type": "string",
            "minLength": 1
          },
          "content_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "order_id": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false,
        "required": ["value", "currency", "content_type", "content_ids"]
      }
    }
  ],
  "configuration": {
    "viewPath": "configuration/configuration.html",
    "schema": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "type": "object",
      "properties": {
        "account_id": {
          "type": "string",
          "minLength": 1
        }
      },
      "additionalProperties": false,
      "required": ["account_id"]
    }
  }
}

{'fraction_non_alphanumeric': 0.18475599804145584, 'fraction_numerical': 0.007997388607801534, 'mean_word_length': 1.5501456512692469, 'pattern_counts': {'":': 172, '<': 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': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7079293', 'n_tokens_mistral': 1902, 'n_tokens_neox': 1869, 'n_words': 322}