Is the workload spec in the Component spec filled by developers or operators?
Is the content in the red box filled by developers or operators?



It should be filled by developers
Yes this is where developers fill in the detail of the container they want to run for a container workload. More generally, for any workload type, developers are responsible for producing a component file.
If that answers your question, @doudoutinghua, I will close this issue out.
Where is the workload schema defined ? Is it directly in the workload ? I can't easily find a complete example of interactions between a workload and a component.
@babin93 For any application platform build with OAM model, it relies on WorkloadDefinition to discover and register the schema of workload. For example, in OAM Kubernetes , WorkloadDefinition of ContainerizedWorkload points to its Kubernetes CRD.
Note thatWorkloadDefinition is an extensible object so platform builders are encouraged to reference doc link or API spec doc link in that object to help developers understand the workload better.
For ContainerizedWorkload which is part of OAM spec, its schema is also documented in the spec: https://github.com/oam-dev/spec/blob/master/core/workloads/schema/containerized_workload.md
Hope this answered your question and feel free to raise any discussion around the spec.