UNPKG

kubernetes-models

Version:
38 lines (37 loc) 857 B
import { register } from "@kubernetes-models/validate"; const schema = { "properties": { "apiVersion": { "type": "string", "nullable": true }, "fieldPath": { "type": "string", "nullable": true }, "kind": { "type": "string", "nullable": true }, "name": { "type": "string", "nullable": true }, "namespace": { "type": "string", "nullable": true }, "resourceVersion": { "type": "string", "nullable": true }, "uid": { "type": "string", "nullable": true } }, "type": "object" }; export function addSchema() { register("io.k8s.api.core.v1.ObjectReference", schema); }