title: Investigation
create:
  fields:
    - subtitle

tabs:
  contentTab:
    label: Contenu
    icon: page
    columns:
      - width: 2/6
        fields:
          publicationDate:
            label: Date de publication
            type: date
            display: DD / MM / YYYY
            default: today
            width: 1/4
      - width: 4/6
        fields:
          subtitle:
            label: Sous-titre
            type: text
          chapo:
            label: Chapo
            type: writer
            nodes: false
            buttons: false
          cover:
            label: Visuel de couverture
            type: files
            multiple: false
            min: 1
            layout: cards
            size: full
            uploads:
              template: cover
            image:
              ratio: 12/7
              cover: true
          body:
            label: Corps
            type: layout
            layouts:
              - "1/1"
              - "1/2, 1/2"
              - "1/3, 1/3, 1/3"
            fieldsets:
              - heading
              - text
              - image
  metadataTab:
    label: Métadonnées
    icon: table
    fields:
      incidentDate:
        label: Date de l'incident
        type: date
        display: DD / MM / YYYY
        width: 1/3
      incidentLocation:
        label: Lieu de l'incident
        type: text
        width: 1/3
      incidentConsequences:
        label: Conséquence(s)
        type: text
        width: 1/3
      keywords:
        label: Mots-clés
        type: tags
        width: 1/2
      partners:
        label: Partenaire(s)
        type: structure
        width: 1/2
        fields:
          name:
            label: Nom
            type: text
          link:
            label: Lien
            type: link
            options:
              - url
      methodologies:
        label: Méthodologie
        type: entries
        field:
          type: text
      line:
        type: line
      team:
        label: Équipe
        type: structure
        columns:
          responsability:
            width: 1/2
          names:
            width: 1/2
        fields:
          responsability:
            label: Responsabilité
            type: text
            width: 1/2
          names:
            label: Nom
            type: entries
            width: 1/2
            field:
              type: text
