Skip to content

Commit

Permalink
chore: add sdk names
Browse files Browse the repository at this point in the history
  • Loading branch information
cwaldren-ld authored Mar 7, 2024
1 parent 4334ee3 commit 2f18ac9
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 0 deletions.
30 changes: 30 additions & 0 deletions data/names.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"akamai": "Akamai SDK",
"android-client-sdk": "Android Client SDK",
"apex-server-sdk": "Apex Server SDK",
"cloudflare": "Cloudflare SDK",
"cpp-client-sdk": "C++ Client SDK",
"cpp-server-sdk": "C++ Server SDK",
"dotnet-client-sdk": ".NET Client SDK",
"dotnet-server-sdk": ".NET Server SDK",
"electron": "Electron SDK",
"erlang-server-sdk": "Erlang Server SDK",
"flutter-client-sdk": "Flutter Client SDK",
"go-server-sdk": "Go Server SDK",
"haskell-server-sdk": "Haskell Server SDK",
"ios-client-sdk": "iOS Client SDK",
"java-server-sdk": "Java Server SDK",
"javascript-client-sdk": "JavaScript Client SDK",
"lua-server-sdk": "Lua Server SDK",
"node-client-sdk": "Node.js Client SDK",
"node-server-sdk": "Node.js Server SDK",
"php-server-sdk": "PHP Server SDK",
"python-server-sdk": "Python Server SDK",
"react-client-sdk": "React Client SDK",
"react-native-client-sdk": "React Native Client SDK",
"roku-client-sdk": "Roku Client SDK",
"ruby-server-sdk": "Ruby Server SDK",
"rust-server-sdk": "Rust Server SDK",
"vercel-client-sdk": "Vercel SDK",
"vue-client-sdk": "Vue SDK"
}
19 changes: 19 additions & 0 deletions schemas/names.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://launchdarkly.com/sdk-meta/names.json",
"title": "SDK Names",
"description": "List of SDK friendly names",
"type": "object",
"$defs": {
"SDKName" : {
"type" : "string",
"description" : "The human-readable display name of an SDK",
"pattern" : "^[-+A-Za-z. ]+$"
}
},
"patternProperties" : {
"^[a-z-]+$" : {
"$ref" : "#/$defs/SDKName"
}
}
}
1 change: 1 addition & 0 deletions scripts/ci/check-json-schemas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ function runTest() {

runTest ./schemas/features.json ./data/features.json
runTest ./schemas/types.json ./data/types.json
runTest ./schemas/names.json ./data/names.json

0 comments on commit 2f18ac9

Please sign in to comment.