{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/argo-workflows/refs/heads/main/json-schema/argo-workflows-github-com-argoproj-argo-events-pkg-apis-events-v1alpha1-k8-s-resource-policy-schema.json", "title": "github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.K8SResourcePolicy", "description": "github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.K8SResourcePolicy schema from Argo Workflows API", "type": "object", "properties": { "backoff": { "title": "Backoff before checking resource state", "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.Backoff" }, "errorOnBackoffTimeout": { "type": "boolean", "title": "ErrorOnBackoffTimeout determines whether sensor should transition to error state if the trigger policy is unable to determine\nthe state of the resource" }, "labels": { "type": "object", "title": "Labels required to identify whether a resource is in success state", "additionalProperties": { "type": "string" } } } }