type: map examples: |

erasmusplus:
    name: Erasmus+
    bio: We funded some of this work!

mapping:

"=":
    type: map
    description: |
        This ideally is your GitHub handle. If you do not have, or do not wish to provide a GitHub username, you may make up another identifier here, but then you must set `github: false` as described below.
    mapping:
        name:
            type: str
            required: true
            description: |
                The full name for the grant
            examples:
                - Gallantries: Bridging Training Communities in Life Science, Environment and Health
        short_name:
            type: str
            description: |
                A shorter name, as some grants love to stuff a lot of words into the title
            examples:
                - Gallantries
        email:
            type: str
            pattern: /@/
            description: |
                Your email address, if you wish to provide it.
            examples:
                - jane.doe@gmail.com
        twitter:
            type: str
            pattern: /[0-9a-zA-Z]+/
            description: Your twitter handle, without the `@`
            examples:
                - gxytraining
        fediverse:
            type: str
            pattern: /^https:\/\/[0-9a-zA-Z.]+/@?[0-9a-zA-Z.]+$/
            description: The URL to your fediverse profile
            examples:
              - http://genomic.social/@abretaud
        fediverse_flavor:
            type: str
            enum:
              - mastodon
              - akkoma
            description: The flavor of the fediverse server (used in our webfinger endpoint.)
        bio:
            type: str
            description: |
                A short biography of yourself, if you wish to add additional details or context.
            examples:
                - Research at the [South African National Bioinformatics Institute](https://www.sanbi.ac.za/)
        matrix:
            type: str
            pattern: /[0-9a-zA-Z]+:.*/
            description: Your matrix identifier and home server
            examples:
                - "hexylena:matrix.org"
        linkedin:
            type: str
            pattern: /[0-9a-zA-Z]+/
        github:
            type: bool
            description: |
                If your identifier in this file is **not** a GitHub account (or not your account), then this **must** be set to true, so we do not link to that account.
        orcid:
            type: str
            pattern: /[0-9A-Z]{4}-[0-9A-Z]{4}-[0-9A-Z]{4}-[0-9A-Z]{4}/
            description: Your identifier at orcid.org
            examples:
                - 0000-0001-9760-8992
        joined:
            type: str
            pattern: /[0-9]{4,}-[0-9]{2}/
            description: The year and month in which you joined
            examples:
                - 2020-01
        start_date:
            type: str
            pattern: /[0-9]{4,}-[0-9]{2}-[0-9]{2}/
            description: The start date of the grant
            examples:
                - "2020-01-01"
        end_date:
            type: str
            pattern: /[0-9]{4,}-[0-9]{2}-[0-9]{2}/
            description: The end date of the grant
            examples:
                - "2020-01-01"
        avatar:
            type: str
        funder:
            type: bool
            description: Set this to true if this entity is a funding agency.
            required: true
            enum:
              - true
        funding_id:
            type: str
            description: The short identifier for your grant.
            examples:
                - 2020-1-NL01-KA203-064717
        url:
            type: str
            description: associated webpage (NOTE, funders only!)
            examples:
              - "https://elixir-europe.org"
        funding_system:
            type: str
            description: Automatically link to the grant's information in the appropriate funding system site.
            enum:
                - cordis
                - erasmusplus
                - ukri
        funder_name:
            type: str
            description: A name for the agency providing the funding.
            examples:
                - Erasmus+ Programme
        funding_statement:
            type: str
            description: A short statement about the funder, markdown is supported.
            examples:
                - This project ([`2020-1-NL01-KA203-064717`](https://erasmus-plus.ec.europa.eu/projects/search/details/2020-1-NL01-KA203-064717)) is funded with the support of the Erasmus+ programme of the European Union. Their funding has supported a large number of tutorials within the GTN across a wide array of topics.