generated from just-the-docs/just-the-docs-template
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixup sponsorship schema and add subschema
- Loading branch information
1 parent
5965599
commit 9b3f444
Showing
2 changed files
with
151 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-06/schema#", | ||
"$id": "https://github.com/Punderthings/fossfoundation/blob/main/_data/sponsorshiplevels-schema.json", | ||
"type": "object", | ||
"title": "Foundation Sponsorship Level Model Schema", | ||
"required": [ | ||
"name", | ||
"amount", | ||
"benefits" | ||
], | ||
"properties": { | ||
"name": { | ||
"title": "Name of Level", | ||
"description": "Name of the level the entity uses.", | ||
"type": "string" | ||
}, | ||
"amount": { | ||
"title": "Amount", | ||
"description": "Cash amount the entity notes for a typical sponsorship.", | ||
"type": "number" | ||
}, | ||
"currency": { | ||
"title": "Currency", | ||
"description": "Currency sponsorship level amount is in (default: USD).", | ||
"type": "string", | ||
"default": "USD" | ||
}, | ||
"amountvaries": { | ||
"title": "Amount Varies?", | ||
"description": "If present, describe how the sponsorship cash amount varies; list the highest part of the range in amount field.", | ||
"type": "string" | ||
}, | ||
"selector": { | ||
"title": "CSS Selector", | ||
"description": "CSS selector to find a nodelist of elements that are sponsor listings when parsing HTML pages.", | ||
"type": "string" | ||
}, | ||
"attr": { | ||
"title": "Attribute", | ||
"description": "Attribute to copy from the nodelist found by selector or in a landscape.", | ||
"type": "string" | ||
}, | ||
"benefits": { | ||
"type": "object", | ||
"properties": { | ||
"governance": { | ||
"title": "Governance Benefits", | ||
"description": "Describe the sponsor's benefits in entity governance: typically appoint a board seat; or vote or run for board elections.", | ||
"type": "string" | ||
}, | ||
"advisory": { | ||
"title": "Advisory Benefits", | ||
"description": "Describe any special access sponsor gets to advisory council, technical leaders, or the like..", | ||
"type": "string" | ||
}, | ||
"events": { | ||
"title": "Events Benefits", | ||
"description": "Event tickets, discounts, or additional event-related sponsorship opportunities.", | ||
"type": "string" | ||
}, | ||
"services": { | ||
"title": "Services Benefits", | ||
"description": "Training or other services provided or discounted.", | ||
"type": "string" | ||
}, | ||
"marketing": { | ||
"title": "Marketing Benefits", | ||
"description": "Any outreach, marketing, or similar that the entity will provide for or work with the sponsor in conjunction on, like shared press releases.", | ||
"type": "string" | ||
}, | ||
"logo": { | ||
"title": "Logo Display", | ||
"description": "Any specific notes on how a sponsor's graphical logo is displayed (or not displayed).", | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters