workers_deployments-strategy-percentage

APIs.ioEngineeringPlatform

Properties

Name Type Description
strategy string
versions array
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-workers-deployments-strategy-percentage-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/workers_deployments-strategy-percentage",
  "title": "workers_deployments-strategy-percentage",
  "properties": {
    "strategy": {
      "enum": [
        "percentage"
      ],
      "type": "string"
    },
    "versions": {
      "items": {
        "properties": {
          "percentage": {
            "example": 100,
            "maximum": 100,
            "minimum": 0.01,
            "type": "number"
          },
          "version_id": {
            "$ref": "#/components/schemas/workers_schemas-version_identifier"
          }
        },
        "required": [
          "version_id",
          "percentage"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "strategy",
    "versions"
  ],
  "type": "object"
}