2023-01-14 22:00:07 +00:00
{
2023-01-29 20:54:12 +00:00
"$schema" : "http://json-schema.org/draft-07/schema#" ,
"type" : "object" ,
"additionalProperties" : false ,
"properties" : {
"categories" : {
"$id" : "#categories" ,
"title" : "Categories" ,
"description" : "The categories listed in the README" ,
"type" : "array" ,
"items" : {
"$id" : "#categories/item" ,
"title" : "Category item" ,
"type" : "object" ,
"required" : [
"key" ,
"name" ,
"emoji"
] ,
"additionalProperties" : false ,
"properties" : {
"key" : {
"$id" : "#categories/category/key" ,
"title" : "key" ,
"type" : "string" ,
"$ref" : "#/$defs/category"
} ,
"name" : {
"$id" : "#categories/category/name" ,
"title" : "Name" ,
"type" : "string"
} ,
"emoji" : {
"$id" : "#categories/category/emoji" ,
"title" : "Emoji" ,
"type" : "string"
}
}
}
} ,
"ports" : {
"$id" : "#ports" ,
"title" : "Ports" ,
"type" : "object" ,
"description" : "All ports in the catppuccin org." ,
"patternProperties" : {
2023-01-14 22:00:07 +00:00
"[A-Za-z0-9_\\-]" : {
2023-01-29 20:54:12 +00:00
"$id" : "#ports/port" ,
"title" : "Port" ,
"type" : "object" ,
"description" : "The GitHub repository name of the port." ,
"examples" : [
"nvim"
] ,
"required" : [
"category" ,
"name" ,
"platform"
] ,
"additionalProperties" : false ,
"properties" : {
"name" : {
"$id" : "#ports/port/name" ,
"title" : "Name" ,
"description" : "The Name of the software the port is for." ,
"type" : "string" ,
"examples" : [
"Neovim"
]
} ,
"category" : {
"$id" : "#ports/port/category" ,
"title" : "Category" ,
"description" : "The category that fits the port the most" ,
"$ref" : "#/$defs/category"
} ,
"platform" : {
"$id" : "#ports/port/platform" ,
"title" : "Platform" ,
2023-07-21 23:07:57 +00:00
"description" : "The platforms the port supports. Either an array of supported operating systems or \"agnostic\" (indicating support for all platforms)." ,
2023-01-29 20:54:12 +00:00
"oneOf" : [
{
"type" : "array" ,
"items" : {
"$id" : "#ports/port/platform/os" ,
"title" : "Operating Systems" ,
2023-01-14 22:00:07 +00:00
"type" : "string" ,
"enum" : [
2023-01-29 20:54:12 +00:00
"android" ,
"ios" ,
"linux" ,
"macos" ,
"windows"
2023-01-14 22:00:07 +00:00
] ,
2023-01-29 20:54:12 +00:00
"examples" : [
[
"linux" ,
"macos" ,
"windows"
] ,
[
"android" ,
"ios"
]
2023-01-14 22:00:07 +00:00
]
2023-01-29 20:54:12 +00:00
}
2023-01-14 22:00:07 +00:00
} ,
2023-01-29 20:54:12 +00:00
{
"type" : "string" ,
"enum" : [
2023-07-21 23:07:57 +00:00
"agnostic"
2023-01-29 20:54:12 +00:00
]
2023-01-14 22:00:07 +00:00
}
2023-01-29 20:54:12 +00:00
]
} ,
"color" : {
"$id" : "#ports/port/color" ,
"title" : "Color" ,
"description" : "The fill color for the icon on the website." ,
"type" : "string" ,
"enum" : [
"rosewater" ,
"flamingo" ,
"pink" ,
"mauve" ,
"red" ,
"maroon" ,
"peach" ,
"yellow" ,
"green" ,
"teal" ,
"sky" ,
"sapphire" ,
"blue" ,
"lavender" ,
"text"
] ,
"examples" : [
"pink"
]
} ,
"icon" : {
"$id" : "#ports/port/icon" ,
"title" : "Icon" ,
"description" : "The icon to use on the website. This should be the same name as the SVG file on https://simpleicons.org/. If a `.svg` suffix is present, it's taken from the local website repository resources." ,
"type" : "string" ,
"examples" : [
"neovim" ,
"neovim.svg"
]
2023-01-14 22:00:07 +00:00
}
2023-01-29 20:54:12 +00:00
}
}
}
} ,
"showcases" : {
"$id" : "#showcases" ,
"title" : "Showcases" ,
"type" : "array" ,
"description" : "Each showcase listed in the README" ,
"items" : {
"$id" : "#showcase/item" ,
"title" : "Showcase item" ,
"type" : "object" ,
"required" : [
"title" ,
"link" ,
"description"
] ,
"additionalProperties" : false ,
"properties" : {
"title" : {
"$id" : "#showcase/showcase/title" ,
"title" : "title" ,
"type" : "string"
} ,
"link" : {
"$id" : "#showcase/showcase/link" ,
"title" : "Link" ,
"type" : "string"
} ,
"description" : {
"$id" : "#showcase/showcase/description" ,
"title" : "Link" ,
"type" : "string"
}
2023-01-14 22:00:07 +00:00
}
2023-01-29 20:54:12 +00:00
}
}
} ,
"$defs" : {
"category" : {
"$id" : "#category" ,
"type" : "string" ,
"enum" : [
"browser" ,
"browser_extension" ,
"cli" ,
"code_editor" ,
"development" ,
"game" ,
"leisure" ,
"library" ,
"messaging" ,
"note_taking" ,
"productivity" ,
"search_engine" ,
"social" ,
"system" ,
"terminal"
]
2023-01-14 22:00:07 +00:00
}
2023-01-29 20:54:12 +00:00
}
2023-01-14 22:00:07 +00:00
}