forked from simple-icons/simple-icons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for trademark guidelines
- Loading branch information
1 parent
909e1ca
commit f26ed39
Showing
8 changed files
with
2,413 additions
and
992 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 |
---|---|---|
|
@@ -22,9 +22,9 @@ | |
"$ref": "#/definitions/sourceUrl" | ||
}, | ||
"guidelines": { | ||
"description": "The brand guidelines", | ||
"$ref": "#/definitions/url" | ||
}, | ||
"description": "The brand and trademark guidelines", | ||
"$ref": "#/definitions/guidelines" | ||
}, | ||
"aliases": { | ||
"description": "The aliases for the brand", | ||
"type": "object", | ||
|
@@ -636,8 +636,8 @@ | |
"$ref": "#/definitions/url" | ||
}, | ||
"guidelines": { | ||
"description": "The brand guidelines, if different from the original", | ||
"$ref": "#/definitions/url" | ||
"description": "The brand and trademark guidelines, if different from the original", | ||
"$ref": "#/definitions/guidelines" | ||
} | ||
}, | ||
"additionalProperties": false | ||
|
@@ -686,6 +686,22 @@ | |
"$ref": "#/definitions/url" | ||
} | ||
}, | ||
"guidelines": { | ||
"$id": "#guidelines", | ||
"type": "object", | ||
"properties": | ||
"branding": { | ||
"description": "Link to the brand guidelines", | ||
"$ref": "#/definitions/url" | ||
}, | ||
"trademark": { | ||
"description": "Link to the trademark usage guidelines", | ||
"$ref": "#/definitions/url" | ||
} | ||
}, | ||
"minProperties": 1, | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
PeterShaggyNoble
Author
Owner
|
||
"additionalProperties": false | ||
}, | ||
"url": { | ||
"$id": "#url", | ||
"description": "HTTPS-only URL for a source", | ||
|
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
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
Oops, something went wrong.
Not sure if this is me misunderstanding the JSON Schema, but does minProperties mean that we must always have at least one property in this object? I would assume this is a moot point, given the guidelines object will be optional full stop?