Harness · Schema
SaveStaticSchedulesRequest
DevOpsGitOpsInternal Developer PortalLifecycleSoftware DeliveryCI/CDContinuous DeliveryContinuous Integration
Properties
| Name | Type | Description |
|---|---|---|
| schedule | object | |
| id | number |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-save-static-schedules-request-schema.json",
"title": "SaveStaticSchedulesRequest",
"x-generated": "2026-10-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/harness-autostopping-fixed-schedules-api-openapi.yml#/components/schemas/SaveStaticSchedulesRequest",
"type": "object",
"properties": {
"schedule": {
"$ref": "#/$defs/FixedSchedule"
},
"id": {
"type": "number"
}
},
"$defs": {
"FixedSchedule": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the schedule"
},
"id": {
"type": "number",
"description": "ID of fixed schedule",
"readOnly": true
},
"account": {
"type": "string",
"description": "ID of account"
},
"description": {
"type": "string",
"description": "Description of fixed schedule"
},
"resources": {
"type": "array",
"description": "List of resources to be controlled by the schedule",
"items": {
"$ref": "#/$defs/StaticScheduleResource"
}
},
"details": {
"$ref": "#/$defs/OccurrenceSchedule"
}
}
},
"OccurrenceSchedule": {
"type": "object",
"properties": {
"uptime": {
"$ref": "#/$defs/TimeSchedule"
},
"downtime": {
"$ref": "#/$defs/TimeSchedule"
},
"timezone": {
"type": "string",
"description": "Time zone in which the schedule should be applied"
}
},
"description": "Details of time schedule by which the resource should be controlled"
},
"StaticScheduleResource": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "ID of the resource to be controlled by schedule. For AutoStopping rule, this would be the ID of the rule"
},
"type": {
"type": "string",
"description": "Type of the resource to be controlled",
"enum": [
"autostop_rule"
]
}
},
"description": "Details of an independent resource that can be controlled by a schedule"
},
"TimeInDay": {
"type": "object",
"properties": {
"hour": {
"type": "number",
"description": "Hour"
},
"min": {
"type": "number",
"description": "Minutes"
}
}
},
"TimeSchedule": {
"type": "object",
"properties": {
"period": {
"type": "object",
"properties": {
"start": {
"type": "string",
"description": "Start time of the period"
},
"end": {
"type": "string",
"description": "End time of the period"
}
},
"description": "For schedules that uses an exact time period"
},
"days": {
"type": "object",
"properties": {
"days": {
"type": "array",
"description": "Days of week on which the schedule should be executed",
"items": {
"type": "number"
}
},
"all_day": {
"type": "boolean",
"description": "Equivalent to selecting all days"
},
"start_time": {
"$ref": "#/$defs/TimeInDay"
},
"end_time": {
"$ref": "#/$defs/TimeInDay"
}
},
"description": "For specifying a recurring schedule in terms of week days"
}
},
"description": "Specifies the occurrence schedule. Occurrence schedule can either be specified as period or as days"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/harness-save-static-schedules-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.