{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/workers_do_binding",
  "title": "workers_do_binding",
  "properties": {
    "class_name": {
      "description": "The exported class name of the Durable Object",
      "example": "MyDurableObject",
      "type": "string"
    },
    "environment": {
      "description": "The environment of the script_name to bind to",
      "example": "production",
      "type": "string"
    },
    "name": {
      "$ref": "#/components/schemas/workers_binding_name"
    },
    "namespace_id": {
      "$ref": "#/components/schemas/workers_namespace_identifier"
    },
    "script_name": {
      "description": "The script where the Durable Object is defined, if it is external to this Worker",
      "example": "my-other-worker",
      "type": "string"
    },
    "type": {
      "description": "The class of resource that the binding provides.",
      "enum": [
        "durable_object_namespace"
      ],
      "example": "durable_object_namespace",
      "type": "string"
    }
  },
  "required": [
    "name",
    "type",
    "class_name"
  ],
  "type": "object"
}