{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/WorkloadMetadata",
"title": "WorkloadMetadata",
"type": "object",
"description": "The metadata description of the Workload",
"required": [
"name"
],
"additionalProperties": true,
"properties": {
"name": {
"type": "string",
"description": "A string that can describe the Workload. Must be a valid RFC1123 Label Name of up to 63 characters.",
"minLength": 2,
"maxLength": 63,
"pattern": "^[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$",
"examples": [
"ecommerce-frontend",
"data-pipeline-worker",
"ml-inference-service"
]
},
"annotations": {
"$ref": "#/components/schemas/Annotations"
}
}
}