<commit_before>{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "title": "GET Weights.",
  "description": "To get the weight details about the given users.",
  "properties": {
    "aggregation": {
      "type": "object",
      "title": "Aggregation of weight.",
      "description": "List of aggregation data about the weights",
      "properties": {
        "max": {
          "type": "integer",
          "title": "Max.",
          "description": "Maximum weight of the user during the period."
        },
        "min": {
          "type": "integer",
          "title": "Min.",
          "description": "Minimum weight of the user during the period."
        },
        "avg": {
          "type": "integer",
          "title": "Avg.",
          "description": "Avg weight of the user during the period."
        },
        "weightChange": {
          "type": "integer",
          "title": "WeightChange.",
          "description": "weight Change of the user during the period."
        },
        "count": {
          "type": "integer",
          "title": "Count.",
          "description": "Total number of weight data found."
        },
        "startDate": {
          "type": "date",
          "title": "startDate.",
          "description": "Starting Date of the weights returned in the query."
        },
        "endDate": {
          "type": "date",
          "title": "endDate.",
          "description": "Ending Date of the weights returned in the query."
        }
      },
      "required": [
        "max",
        "min",
        "avg",
        "weightChange"
      ]
    },
    "weights": {
      "type": "array",
      "title": "Weights schema.",
      "description": "An explanation about the purpose of this instance.",
      "items": {
        "type": "object",
        "title": "2 schema.",
        "description": "An explanation about the purpose of this instance.",
        "properties": {
          "datetime": {
            "type": "string",
            "title": "Datetime schema.",
            "description": "An explanation about the purpose of this instance."
          },
          "weight": {
            "type": "number",
            "title": "Weight schema.",
            "description": "An explanation about the purpose of this instance."
          }
        },
        "required": [
          "datetime",
          "weight"
        ]
      }
    }
  },
  "required": [
    "aggregation",
    "weights"
  ]
}<commit_msg>schema for get and post added<commit_after>{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "title": "GET Weights.",
  "description": "To get the weight details about the given users.",
  "properties": {
    "aggregation": {
      "type": "object",
      "title": "Aggregation of weight.",
      "description": "List of aggregation data about the weights",
      "properties": {
        "maxWeight": {
          "type": "integer",
          "title": "Max weight.",
          "description": "Maximum weight of the user during the period."
        },
        "minWeight": {
          "type": "integer",
          "title": "Min.",
          "description": "Minimum weight of the user during the period."
        },
        "avgWeight": {
          "type": "integer",
          "title": "Avg.",
          "description": "Avg weight of the user during the period."
        },
        "weightChange": {
          "type": "integer",
          "title": "WeightChange.",
          "description": "weight Change of the user during the period."
        },
        "count": {
          "type": "integer",
          "title": "Count.",
          "description": "Total number of weight data found."
        },
        "startDate": {
          "type": "date",
          "title": "startDate.",
          "description": "Starting Date of the weights returned in the query. If not given in the query."
        },
        "endDate": {
          "type": "date",
          "title": "endDate.",
          "description": "Ending Date of the weights returned in the query. If the date is not given in query."
        },
	"dateOfMaxWeight": {
	  "type": "date",
	  "title": "date of max weight occured",
	  "description": "date of when the max weight occured for the given period of time"
	},
        "dateOfMinWeight": {
          "type": "date",
          "title": "date of min weight occured",
          "description": "date of when the min weight occured for the given period of time"
        }
      },
      "required": [
        "maxWeight",
        "minWeight",
        "avgWeight",
        "weightChange"
      ]
    },
    "weights": {
      "type": "array",
      "title": "Weights schema.",
      "description": "An explanation about the purpose of this instance.",
      "items": {
        "type": "object",
        "title": "2 schema.",
        "description": "An explanation about the purpose of this instance.",
        "properties": {
          "datetime": {
            "type": "string",
            "title": "Datetime schema.",
            "description": "An explanation about the purpose of this instance."
          },
          "weight": {
            "type": "number",
            "title": "Weight schema.",
            "description": "An explanation about the purpose of this instance."
          }
        },
        "required": [
          "datetime",
          "weight"
        ]
      }
    }
  },
  "required": [
    "aggregation",
    "weights"
  ]
}

{'fraction_non_alphanumeric': 0.1475583864118896, 'fraction_numerical': 0.0010615711252653928, 'mean_word_length': 1.6098799630655587, 'pattern_counts': {'":': 124, '<': 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': '5286257', 'n_tokens_mistral': 1533, 'n_tokens_neox': 1458, 'n_words': 476}