UNPKG

kubernetes-models

Version:
28 lines (27 loc) 574 B
import { register } from "@kubernetes-models/validate"; const schema = { "properties": { "error": { "type": "string", "nullable": true }, "message": { "type": "string", "nullable": true }, "status": { "type": "string" }, "type": { "type": "string" } }, "required": [ "type", "status" ], "type": "object" }; export function addSchema() { register("io.k8s.api.core.v1.ComponentCondition", schema); }