Skip to content

Commit

Permalink
Add simplistic tax finance section; build sponsors listing
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneCurcuru committed Feb 13, 2024
1 parent ef148ca commit d1eb69d
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 5 deletions.
24 changes: 22 additions & 2 deletions _layouts/foundation.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ <h2 id="governance">Governance</h2>
{% if page.bylawsurl %}<abbr title="Corporate bylaws URL.">Bylaws Website</abbr>: <a itemprop="bylawsurl" href="{{ page.bylawsurl }}">{{ page.bylawsurl }}</a><br/>{% endif %}
{% if page.numberOfEmployees %}<abbr title="Approximate number of paid employees or equivalents.">Approx Number Of Paid Staff</abbr>: <span itemprop="numberOfEmployees">{{ page.numberOfEmployees }}</span><br/>{% endif %}
</section>
<section id="finance-section">
<h2 id="finance">Finance</h2>
<section id="funding-section">
<h2 id="funding">Funding</h2>
{% if page.taxID %}<abbr title="US IRS taxID, or other country's tax identifier (if any).">Tax Authority ID</abbr>: <span itemprop="taxID">{{ page.taxID }}</span><br/>{% endif %}
{% if page.taxIDLocal %}<abbr title="Per-state, province, or similar tax ID for the corporate entity.">Local Tax Authority ID</abbr>: <span itemprop="taxIDLocal">{{ page.taxIDLocal }}</span><br/>{% endif %}
{% if page.nonprofitStatus %}<abbr title="Specific type of non-profit; US or other country type.">Nonprofit Type</abbr>: <span itemprop="nonprofitStatus">{{ page.nonprofitStatus }}</span><br/>{% endif %}
Expand Down Expand Up @@ -77,6 +77,26 @@ <h2 id="other">Other Policies</h2>
{% if page.parentOrganization %}<abbr title="Legal organization or foundation this project belongs to.">Parent Organization</abbr>: <span itemprop="parentOrganization">{{ page.parentOrganization }}</span><br/>{% endif %}
{% if page.subOrganization %}<abbr title="Unused: should this be used instead of projectList?">Sub Projects Listed</abbr>: <span itemprop="subOrganization">{{ page.subOrganization }}</span><br/>{% endif %}
</section>

{% if page.taxID %}
{% assign pein = page.taxID | remove: "-" %}{% assign pp = site.data.p990[pein] %}
{% if pp %}
<section id="taxes-section">
<h2 id="taxes">Tax Financial Data</h2>
<abbr title="US IRS date that 501(c)* status was granted.">IRS determination date</abbr>: <span itemprop="irsDate">{{ pp.organization.ruling_date }}</span><br/>
<abbr title="NTEE type of nonprofit organization code.">NTEE Code</abbr>: <span itemprop="ntee_code">{{ pp.organization.ntee_code }}</span><br/>
<div id="approx-990-data">
<strong>Approximate</strong> financial status from <a href="https://github.com/Punderthings/fossfoundation/tree/main/_data/p990/{{ pein }}.json">ProPublica JSON data</a><br/>
<abbr title="Most recent filed tax period.">Tax Period</abbr>: <span itemprop="tax_period">{{ pp.organization.tax_period }}</span><br/>
<abbr title="Total assets at end of year.">Assets EOY</abbr>: <span itemprop="asset_amount">{{ pp.organization.asset_amount }}</span><br/>
<abbr title="Total revenue for year.">Revenue</abbr>: <span itemprop="revenue_amount">{{ pp.organization.revenue_amount }}</span><br/>
</div>
</section>
{% endif %}
{% endif %}



<hr id="details"/>

{{ content }}
Expand Down
12 changes: 12 additions & 0 deletions _layouts/sponsorships.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
layout: default
---

{{ content }}

<hr id="listing"/>
<ul>
{% for fdn in site.sponsorships %}
<li><a id="{{ fdn.identifier }}" href="/sponsorships/{{ fdn.identifier }}">{{ fdn.commonName }}</a></li>
{% endfor %}
</ul>
6 changes: 3 additions & 3 deletions _pages/sponsorships.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Sponsorship Models
excerpt: Modeling sponsorship programs across the FOSS landscape.
layout: default
layout: sponsorships
permalink: /sponsorships
nav_order: 22
---
Expand All @@ -10,7 +10,7 @@ To provide context for financial sustainability around FOSS organizations, we've

## Modeling Foundation Sponsorship Programs

Data is stored per entity (a foundation or a project) as a single `asf.json` file in the [`_sponsorships` directory](https://github.com/Punderthings/fossfoundation/tree/main/_sponsorships). Each file is a set of factual references to the entity's published sponsorship policies and levels, and provides metadata to scrape web pages of actual sponsor listings at the current date. Some entries will provide a dated static map of manually compiled list of current sponsors listed.
Data is stored per entity (a foundation or a project) as a single `asf.md` file in `_sponsorships`, see a [listing below](#listing). Each file is a set of factual references to the entity's published sponsorship policies and levels, and provides metadata to scrape web pages of actual sponsor listings at the current date. Some entries will provide a dated static map of manually compiled list of current sponsors listed.

## Inclusion Criteria

Expand Down Expand Up @@ -46,7 +46,7 @@ Sponsorships are dated, to enable future review of sponsorships over time via us
- *amountvaries:* If present, describe how the sponsorship cash amount varies; we list the highest part of the range in *amount* above.
- *selector:* CSS selector to find a nodelist of elements that are sponsor listings.
- *attr:* Attribute to copy from the selector's nodelist.
- *benefits:* A rough guide to the kinds of benefits the entity provides at this sponsorship level. Higher levels assume all benefits from lower levels unless noted otherwise.
- **benefits:** A rough guide to the kinds of benefits the entity provides at this sponsorship level. Higher levels assume all benefits from lower levels unless noted otherwise.
- *governance:* If the sponsor gets direct rights in entity governance: typically sponsors can either appoint a board seat, or are eligible to vote in board elections.
- *advisory:* If the sponsor gets access to an advisory council, the entity leadership or other committees, or the like.
- *events:* Event tickets, discounts, or additional sponsorship opportunities.
Expand Down

0 comments on commit d1eb69d

Please sign in to comment.