-
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.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
4 changed files
with
95 additions
and
8 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,47 @@ | ||
# Output metadata | ||
The output metadata consists of a JSON file with the structure shown below. It is loosely based on [Google emoji metadata](https://github.com/googlefonts/emoji-metadata). | ||
|
||
```json | ||
[ | ||
{ | ||
"group": "group_name", | ||
"emojis": [ | ||
// Emoji objects | ||
] | ||
} | ||
] | ||
``` | ||
|
||
## Emoji object | ||
### Required fields | ||
- `src` is the path to the emoji image | ||
- `description` is a string | ||
|
||
### Optional fields | ||
- `shortcodes` can be an array of strings, or an empty array | ||
- `codepoint` and `root_codepoint` can be an array of numbers, or an empty array | ||
- `category` can be an array of strings, or an empty array | ||
|
||
```json | ||
{ | ||
"codepoint": [ | ||
9996, | ||
8205, | ||
128994 | ||
], | ||
"root_codepoint": [ | ||
9996 | ||
], | ||
"src": "expressions/skintones/human/victory_hand_g", | ||
"shortcodes": [ | ||
":victory_hand_g:", | ||
":v_g:" | ||
], | ||
"category": [ | ||
"expressions", | ||
"skintones", | ||
"human" | ||
], | ||
"description": "something" | ||
}, | ||
``` |
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
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