<commit_before>{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "owner": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "vcs": {
      "type": "string"
    },
    "contact": {
      "type": "string"
    },
    "short_name": {
      "type": "string"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "links": {
      "type": "object",
      "properties": {
        "homepage": {
          "type": "string"
        },
        "buildchain": {
          "type": "string"
        },
        "api_docs": {
          "type": "string"
        }
      }
    },
    "service": {
      "type": "object",
      "properties": {
        "provides": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "description": {
                "type": "string"
              },
              "service_name": {
                "type": "string"
              },
              "protocol": {
                "type": "string"
              },
              "port": {
                "type": "integer"
              },
              "public_dns": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "transport_protocol": {
                "type": "string"
              }
            }
          }
        },
        "depends_on": {
          "type": "object",
          "properties": {
            "internal": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "short_name": {
                    "type": "string"
                  },
                  "port": {
                    "type": "integer"
                  }
                }
              }
            },
            "external": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "target": {
                    "type": "string"
                  },
                  "transport_protocol": {
                    "type": "string"
                  },
                  "why": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "context": {
      "type": "object",
      "properties": {
        "belongs_to_bounded_context": {
          "type": "string"
        },
        "visibility": {
          "type": "string"
        }
      }
    },
    "runtime": {
      "type": "object",
      "properties": {
        "cpu": {
          "type": "string"
        },
        "ram": {
          "type": "string"
        },
        "disk": {
          "type": "string"
        },
        "host_type": {
          "type": "string"
        },
        "network_zone": {
          "type": "string"
        }
      }
    },
    "software_dependencies": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "licenses": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "required": [
    "id",
    "name",
    "type",
    "owner",
    "description"
  ]
}<commit_msg>Software dependencies might not have a license name and url, so do not make this needed for the pivio json schema for validation.<commit_after>{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "owner": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "vcs": {
      "type": "string"
    },
    "contact": {
      "type": "string"
    },
    "short_name": {
      "type": "string"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "links": {
      "type": "object",
      "properties": {
        "homepage": {
          "type": "string"
        },
        "buildchain": {
          "type": "string"
        },
        "api_docs": {
          "type": "string"
        }
      }
    },
    "service": {
      "type": "object",
      "properties": {
        "provides": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "description": {
                "type": "string"
              },
              "service_name": {
                "type": "string"
              },
              "protocol": {
                "type": "string"
              },
              "port": {
                "type": "integer"
              },
              "public_dns": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "transport_protocol": {
                "type": "string"
              }
            }
          }
        },
        "depends_on": {
          "type": "object",
          "properties": {
            "internal": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "short_name": {
                    "type": "string"
                  },
                  "port": {
                    "type": "integer"
                  }
                }
              }
            },
            "external": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "target": {
                    "type": "string"
                  },
                  "transport_protocol": {
                    "type": "string"
                  },
                  "why": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "context": {
      "type": "object",
      "properties": {
        "belongs_to_bounded_context": {
          "type": "string"
        },
        "visibility": {
          "type": "string"
        }
      }
    },
    "runtime": {
      "type": "object",
      "properties": {
        "cpu": {
          "type": "string"
        },
        "ram": {
          "type": "string"
        },
        "disk": {
          "type": "string"
        },
        "host_type": {
          "type": "string"
        },
        "network_zone": {
          "type": "string"
        }
      }
    },
    "software_dependencies": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "licenses": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
              }
            }
          }
        }
      }
    }
  },
  "required": [
    "id",
    "name",
    "type",
    "owner",
    "description"
  ]
}
{'fraction_non_alphanumeric': 0.16930461857810067, 'fraction_numerical': 0.0005189413596263622, 'mean_word_length': 0.8629772837119382, 'pattern_counts': {'":': 228, '<': 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': '5698613', 'n_tokens_mistral': 2217, 'n_tokens_neox': 2139, 'n_words': 366}