<commit_before><?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.picture.coreTypes">

  <require>org.nuxeo.ecm.core.schema.TypeService</require>
  <require>org.nuxeo.ecm.core.CoreExtensions</require>

  <extension target="org.nuxeo.ecm.core.schema.TypeService"
             point="schema">
    <schema name="picture" src="schema/picture.xsd"/>
    <schema name="image_metadata" src="schema/image_metadata.xsd" prefix="imd"/>
    <schema name="iptc" src="schema/iptc.xsd" prefix="iptc"/>
  </extension>

  <extension target="org.nuxeo.ecm.core.schema.TypeService"
             point="doctype">

    <doctype name="Picture" extends="Document">
      <schema name="picture"/>
      <schema name="image_metadata"/>
      <schema name="iptc"/>
      <schema name="common"/>
      <schema name="uid"/>
      <schema name="dublincore"/>
      <facet name="MultiviewPicture"/>
      <facet name="Versionable"/>
      <facet name="Publishable"/>
      <facet name="Commentable"/>
    </doctype>

  </extension>

</component>
<commit_msg>NXP-6085: Associate facets to schemas, explicitly declare standard facets<commit_after><?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.picture.coreTypes">

  <require>org.nuxeo.ecm.core.schema.TypeService</require>
  <require>org.nuxeo.ecm.core.CoreExtensions</require>

  <extension target="org.nuxeo.ecm.core.schema.TypeService"
             point="schema">
    <schema name="picture" src="schema/picture.xsd"/>
    <schema name="image_metadata" src="schema/image_metadata.xsd" prefix="imd"/>
    <schema name="iptc" src="schema/iptc.xsd" prefix="iptc"/>
  </extension>

  <extension target="org.nuxeo.ecm.core.schema.TypeService"
             point="doctype">

    <facet name="MultiviewPicture"/>

    <doctype name="Picture" extends="Document">
      <schema name="picture"/>
      <schema name="image_metadata"/>
      <schema name="iptc"/>
      <schema name="common"/>
      <schema name="uid"/>
      <schema name="dublincore"/>
      <facet name="MultiviewPicture"/>
      <facet name="Versionable"/>
      <facet name="Publishable"/>
      <facet name="Commentable"/>
    </doctype>

  </extension>

</component>

{'fraction_non_alphanumeric': 0.17401285583103765, 'fraction_numerical': 0.0036730945821854912, 'mean_word_length': 3.6759656652360513, 'pattern_counts': {'":': 0, '<': 56, '<?xml version=': 2, '>': 56, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2684632', 'n_tokens_mistral': 740, 'n_tokens_neox': 695, 'n_words': 110}