action bbci_search { label: "Search" description: "Search" provider: bbci method: GET path: "/search" encoding: json input: { type: "object" properties: { availability: { type: "string" enum: ["all", "available"] } lang: { type: "string" enum: ["en", "cy", "ga", "gd", "pi"] } q: { type: "string" } rights: { type: "string" enum: ["mobile", "tv", "web"] } } required: ["availability", "lang", "q", "rights"] additionalProperties: false } output: { type: "object" } }