{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/workers_tail_consumers_script", "title": "workers_tail_consumers_script", "description": "A reference to a script that will consume logs from the attached Worker.", "properties": { "environment": { "description": "Optional environment if the Worker utilizes one.", "example": "production", "type": "string" }, "namespace": { "description": "Optional dispatch namespace the script belongs to.", "example": "my-namespace", "type": "string" }, "service": { "description": "Name of Worker that is to be the consumer.", "example": "my-log-consumer", "type": "string" } }, "required": [ "service" ], "type": "object" }