nicolaferraro commented on issue #2080: URL: https://github.com/apache/camel-k/issues/2080#issuecomment-788722880
Would something like this work (apparently [json-schema 7 compatible](https://json-schema.org/understanding-json-schema/reference/non_json_data.html)) ? ```yaml spec: definition: title: "Google cloud stuff" properties: token: title: Token description: The Token file type: string contentEncoding: base64 contentMediaType: "application/json" x-camel-type: resource ``` At the end of the day, the configuration of a Kamelet is a JSON object and need to be validated by the schema. The `x-camel-type` vendor extension tells us to use the `resource` type binding at runtime. Still we need to define how the file location can be accessed at runtime in the kamelet loader. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org