CircleCI · Schema

CreateContextRequest

CI/CDContinuous IntegrationContinuous DeploymentDevOpsPipelinesWorkflows

Properties

Name Type Description
name string The name of the context
owner object
View JSON Schema on GitHub

JSON Schema

circleci-createcontextrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateContextRequest",
  "title": "CreateContextRequest",
  "type": "object",
  "required": [
    "name",
    "owner"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the context"
    },
    "owner": {
      "type": "object",
      "required": [
        "id",
        "type"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "The owner ID"
        },
        "type": {
          "type": "string",
          "enum": [
            "account",
            "organization"
          ],
          "description": "The owner type"
        }
      }
    }
  }
}