{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mindcloud/json-schema/mindcloud-environment-schema.json",
  "title": "Environment",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mindcloud-environments-api-openapi.yml#/components/schemas/Environment",
  "type": "object",
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "Unique id of the environment. Use it to filter runs."
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "description": "The environment's name, like Production or Sandbox."
    },
    "isDefault": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "True for the default environment."
    },
    "workflowCount": {
      "type": [
        "integer",
        "null"
      ],
      "description": "How many scheduled workflows target it."
    },
    "createdOn": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "When the environment was created."
    }
  },
  "required": [
    "id",
    "name",
    "isDefault",
    "workflowCount",
    "createdOn"
  ]
}