<commit_before>{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "Dataset",
  "description": "Describes a dataset, and gives bibliographic informations",
  "type": "object",
  "properties": {
    "id": {
      "description": "Access code for the dataset in the local database",
      "type": "string"
    },
    "name": {
    	"description": "Name of the dataset",
      "type": "string"
    },
    "description": {
       "description": "Some additional informations about the dataset",
       "type": "string"
    },
    "papers": {
       "description": "DOIs for original publications",
       "type": "array",
       "items": {
          "type": "string"
       }
    },
    "data": {
       "description": "DOI for the datasets",
       "type": "array",
       "items": {
          "type": "string"
       }
    },
    "networks": {
       "description": "List of networks ID",
       "type": "array",
       "items": {
          "type": "string"
       },
       "minItems": 1,
       "uniqueItems": true
    }
  },
  "required": ["name", "networks"]
}<commit_msg>Datastes are valid objects even without networks, this is important when validating uploaded JSON files<commit_after>{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "Dataset",
  "description": "Describes a dataset, and gives bibliographic informations",
  "type": "object",
  "properties": {
    "id": {
      "description": "Access code for the dataset in the local database",
      "type": "string"
    },
    "name": {
    	"description": "Name of the dataset",
      "type": "string"
    },
    "description": {
       "description": "Some additional informations about the dataset",
       "type": "string"
    },
    "papers": {
       "description": "DOIs for original publications",
       "type": "array",
       "items": {
          "type": "string"
       }
    },
    "data": {
       "description": "DOI for the datasets",
       "type": "array",
       "items": {
          "type": "string"
       }
    },
    "networks": {
       "description": "List of networks ID",
       "type": "array",
       "items": {
          "type": "string"
       },
       "uniqueItems": true
    }
  },
  "required": ["name", "networks"]
}
{'fraction_non_alphanumeric': 0.1748220640569395, 'fraction_numerical': 0.002224199288256228, 'mean_word_length': 2.2688953488372094, 'pattern_counts': {'":': 63, '<': 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': '3669337', 'n_tokens_mistral': 683, 'n_tokens_neox': 679, 'n_words': 186}