Skip to content

Commit

Permalink
feat(schema): add private.env.schema.json
Browse files Browse the repository at this point in the history
  • Loading branch information
gorillamoe committed Sep 30, 2024
1 parent 1fb1912 commit 5899627
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions schemas/http-client.private.env.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"$id": "https://raw.githubusercontent.com/mistweaverco/kulala.nvim/main/schemas/http-client.private.env.schema.json",
"title": "HTTP Client Private Environment Variables",
"description": "The private environment variables required for the HTTP client",
"type": "object",
"properties": {
"$schema": {
"type": "string"
},
"$shared": {
"type": "object",
"properties": {
"$default_headers": {
"type": "object",
"patternProperties": {
"^.*$": {
"type": "string"
}
},
"additionalProperties": false
}
},
"patternProperties": {
"^([A-Za-z0-9_]+)$": {
"type": ["string", "number"]
}
},
"additionalProperties": false
}
},
"patternProperties": {
"^.*$": {
"type": "object",
"patternProperties": {
"^([A-Za-z0-9_]+)$": {
"type": ["string", "number"]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}

0 comments on commit 5899627

Please sign in to comment.