Last active
November 19, 2025 19:19
-
-
Save GarthDB/93ee554850fe8dc4a804125186b42aaa to your computer and use it in GitHub Desktop.
Sample Taxonomy
This file contains hidden or 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
| [ | |
| { | |
| "id": "taxonomy-random-id-1", | |
| "title": "Sample taxonomy", | |
| "description": "This is a sample taxonomy for demonstration purposes.", | |
| // Optional: Link to external documentation for further reference, including visuals and usage guidelines. | |
| "documentationUrl": "https://example.com/sample-taxonomy-docs", | |
| // Scopes the taxonomy to specific token types for better usability and clarity. | |
| "tokenTypes": [ | |
| // Reference token types by url? https://opensource.adobe.com/spectrum-tokens/schemas/token-types/color.json | |
| // Would be nice to have a shortcut for "all"? | |
| "TokenTypeA", | |
| "TokenTypeB" | |
| ], | |
| // Scopes the taxonomy to specific token tiers, as only certain tiers may use this taxonomy. | |
| "tokenTiers": [ | |
| "Semantic" // Much discussion could be had on these, but I'd default to the standards of Primitive, Semantic, and Component. | |
| ], | |
| "terms": [ | |
| { | |
| "id": "term-random-id-1", | |
| "name": "Term One", | |
| "description": "Description for Term One.", | |
| // Optional: Link to anchors/specific docs for the term. | |
| "documentationUrl": "https://example.com/sample-taxonomy-docs#term-one" | |
| }, | |
| { | |
| "id": "term-random-id-2", | |
| "name": "Term Two", | |
| "description": "Description for Term Two.", | |
| "documentationUrl": "https://example.com/sample-taxonomy-docs#term-two" | |
| } | |
| ] | |
| } | |
| // Other taxonomies and terms... | |
| ] |
This file contains hidden or 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
| - id: taxonomy-random-id-1 | |
| title: Sample taxonomy | |
| description: This is a sample taxonomy for demonstration purposes. | |
| # Optional: Link to external documentation for further reference, including visuals and usage guidelines. | |
| documentationUrl: https://example.com/sample-taxonomy-docs | |
| # Scopes the taxonomy to specific token types for better usability and clarity. | |
| tokenTypes: | |
| # Reference token types by url? https://opensource.adobe.com/spectrum-tokens/schemas/token-types/color.json | |
| # Would be nice to have a shortcut for "all"? | |
| - TokenTypeA | |
| - TokenTypeB | |
| # Scopes the taxonomy to specific token tiers, as only certain tiers may use this taxonomy. | |
| tokenTiers: | |
| - Semantic # Much discussion could be had on these, but I'd default to the standards of Primitive, Semantic, and Component. | |
| terms: | |
| - id: term-random-id-1 | |
| name: Term One | |
| description: Description for Term One. | |
| # Optional: Link to anchors/specific docs for the term. | |
| documentationUrl: https://example.com/sample-taxonomy-docs#term-one | |
| - id: term-random-id-2 | |
| name: Term Two | |
| description: Description for Term Two. | |
| documentationUrl: https://example.com/sample-taxonomy-docs#term-two | |
| # Other taxonomies and terms... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment