Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 12, 2024
1 parent 6641271 commit dd8a06b
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions src/schemas/json/aspire-8.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"$id": "https://json.schemastore.org/aspire-8.0.json",
"type": "object",
"description": "Defines the .NET Aspire 8.0 deployment manifest JSON schema.",
"required": [ "resources" ],
"required": ["resources"],
"properties": {
"resources": {
"type": "object",
"description": "Contains the set of resources deployable as part of this manifest. Each property is a distinct resource.",
"additionalProperties": {
"type": "object",
"required": [ "type" ],
"required": ["type"],
"properties": {
"type": {
"type": "string"
Expand All @@ -20,7 +20,7 @@
{
"type": "object",
"description": "A resource that represents a Dockerfile that will be built into a container during deployment.",
"required": [ "type", "path", "context" ],
"required": ["type", "path", "context"],
"properties": {
"type": {
"const": "dockerfile.v0"
Expand Down Expand Up @@ -48,7 +48,7 @@
{
"type": "object",
"description": "A generic container resource.",
"required": [ "type", "image" ],
"required": ["type", "image"],
"properties": {
"type": {
"const": "container.v0"
Expand Down Expand Up @@ -88,10 +88,10 @@
"description": "A generic container resource.",
"oneOf": [
{
"required": [ "type", "build" ]
"required": ["type", "build"]
},
{
"required": [ "type", "image" ]
"required": ["type", "image"]
}
],
"properties": {
Expand Down Expand Up @@ -133,7 +133,7 @@
{
"type": "object",
"description": "Represents a .NET project resource.",
"required": [ "type", "path" ],
"required": ["type", "path"],
"properties": {
"type": {
"const": "project.v0"
Expand All @@ -157,7 +157,7 @@
{
"type": "object",
"description": "Represents an executable resource.",
"required": [ "type", "command", "workingDirectory" ],
"required": ["type", "command", "workingDirectory"],
"properties": {
"type": {
"const": "executable.v0"
Expand All @@ -184,7 +184,7 @@
},
{
"type": "object",
"required": [ "connectionString" ],
"required": ["connectionString"],
"description": "Represents a value resource. Typically used to perform string concatenation (e.g. for connection strings).",
"properties": {
"type": {
Expand All @@ -199,7 +199,7 @@
{
"type": "object",
"description": "Represents a parameter resource. Parameter resources are used to represent external configuration values that should be provided at deployment time.",
"required": [ "value", "inputs" ],
"required": ["value", "inputs"],
"properties": {
"type": {
"const": "parameter.v0"
Expand All @@ -215,24 +215,24 @@
"description": "Defines a set of input values which need to be either generated or prompted by the deployment tool. This is typically used for environment specific configuration values or secrets.",
"additionalProperties": {
"type": "object",
"required": [ "type" ],
"required": ["type"],
"properties": {
"type": {
"type": "string",
"description": "The type of the value to be prompted or generated. Currently only 'string'' is supported.",
"enum": [ "string" ]
"enum": ["string"]
},
"secret": {
"type": "boolean",
"description": "Flag indicating whether the value should be treated as a secret. Deployment tools should note this value to take appropriate precautions when prompting, storing, and transmitting this value."
},
"default": {
"type": "object",
"required": [ "generate" ],
"required": ["generate"],
"properties": {
"generate": {
"type": "object",
"required": [ "minLength" ],
"required": ["minLength"],
"properties": {
"minLength": {
"type": "number",
Expand Down Expand Up @@ -286,15 +286,15 @@
{
"type": "object",
"description": "Represents a Dapr resource in the manifest.",
"required": [ "dapr" ],
"required": ["dapr"],
"properties": {
"type": {
"const": "dapr.v0"
},
"dapr": {
"type": "object",
"description": "Dapr specific configuration.",
"required": [ "application", "appId", "components" ],
"required": ["application", "appId", "components"],
"properties": {
"application": {
"type": "string"
Expand All @@ -316,7 +316,7 @@
},
{
"type": "object",
"required": [ "daprComponent" ],
"required": ["daprComponent"],
"properties": {
"type": {
"const": "dapr.component.v0"
Expand All @@ -336,7 +336,7 @@
{
"type": "object",
"default": "Represents a resource that is deployed using Azure Bicep.",
"required": [ "path" ],
"required": ["path"],
"properties": {
"type": {
"const": "azure.bicep.v0"
Expand All @@ -357,7 +357,7 @@
{ "type": "boolean" },
{ "type": "number" },
{ "type": "object" },
{ "type": "string"}
{ "type": "string" }
]
}
}
Expand All @@ -366,7 +366,7 @@
},
{
"type": "object",
"required": [ "type", "stack-name" ],
"required": ["type", "stack-name"],
"properties": {
"type": {
"const": "aws.cloudformation.stack.v0"
Expand All @@ -391,7 +391,7 @@
},
{
"type": "object",
"required": [ "type", "stack-name", "template-path" ],
"required": ["type", "stack-name", "template-path"],
"properties": {
"type": {
"const": "aws.cloudformation.template.v0"
Expand Down Expand Up @@ -420,7 +420,7 @@
{
"type": "object",
"description": "Represents extensions. Any object with a 'type' field that is not captured above will pass.",
"required": [ "type" ],
"required": ["type"],
"not": {
"properties": {
"type": {
Expand Down Expand Up @@ -471,7 +471,7 @@
"build": {
"type": "object",
"description": "An object that captures properties that control the building of a container image.",
"required": [ "context", "dockerfile" ],
"required": ["context", "dockerfile"],
"properties": {
"context": {
"type": "string",
Expand All @@ -493,10 +493,10 @@
"description": "A list of build arguments which are used during container build.",
"additionalProperties": {
"type": "object",
"required": [ "type" ],
"required": ["type"],
"oneOf": [
{
"required": [ "type", "value" ],
"required": ["type", "value"],
"properties": {
"type": {
"type": "string",
Expand All @@ -509,7 +509,7 @@
}
},
{
"required": [ "type", "source" ],
"required": ["type", "source"],
"properties": {
"type": {
"type": "string",
Expand Down Expand Up @@ -539,22 +539,22 @@
"description": "A list of port bindings for the resource when it is deployed.",
"additionalProperties": {
"type": "object",
"required": [ "scheme", "protocol", "transport" ],
"required": ["scheme", "protocol", "transport"],
"properties": {
"scheme": {
"type": "string",
"description": "The scheme used in URIs for this binding.",
"enum": [ "http", "https", "tcp", "udp" ]
"enum": ["http", "https", "tcp", "udp"]
},
"protocol": {
"type": "string",
"description": "The protocol used for this binding (only 'tcp' or 'udp' are valid).",
"enum": [ "tcp", "udp" ]
"enum": ["tcp", "udp"]
},
"transport": {
"type": "string",
"description": "Additional information describing the transport (e.g. HTTP/2).",
"enum": [ "http", "http2", "tcp" ]
"enum": ["http", "http2", "tcp"]
},
"external": {
"type": "boolean",
Expand Down Expand Up @@ -584,7 +584,7 @@
"description": "A list of volumes associated with this resource when deployed.",
"items": {
"type": "object",
"required": [ "name", "target", "readOnly" ],
"required": ["name", "target", "readOnly"],
"properties": {
"name": {
"type": "string",
Expand All @@ -607,7 +607,7 @@
"description": "A list of bind mounts associated with this resource when deployed.",
"items": {
"type": "object",
"required": [ "source", "target", "readOnly" ],
"required": ["source", "target", "readOnly"],
"properties": {
"source": {
"type": "string",
Expand Down

0 comments on commit dd8a06b

Please sign in to comment.