{
  "$defs": {
    "OwnerReference": {
      "additionalProperties": false,
      "properties": {
        "apiVersion": {
          "pattern": "^(?=.{1,253}\\/)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*\\/[a-z0-9]+$",
          "type": "string"
        },
        "blockOwnerDeletion": {
          "default": false,
          "type": "boolean"
        },
        "kind": {
          "pattern": "^[A-Z][A-Za-z0-9]*$",
          "type": "string"
        },
        "name": {
          "maxLength": 253,
          "pattern": "^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$",
          "type": "string"
        },
        "uid": {
          "format": "uuid",
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "type": "string"
        }
      },
      "required": [
        "apiVersion",
        "kind",
        "name",
        "uid"
      ],
      "type": "object"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "annotations": {
      "additionalProperties": {
        "type": "string"
      },
      "default": {},
      "type": "object"
    },
    "deletionTimestamp": {
      "format": "date-time",
      "type": [
        "string",
        "null"
      ]
    },
    "discriminator": {
      "type": [
        "string",
        "null"
      ]
    },
    "finalizers": {
      "default": [],
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "name": {
      "type": "string"
    },
    "ownerReferences": {
      "items": {
        "$ref": "#/$defs/OwnerReference"
      },
      "type": "array"
    },
    "revision": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "uid": {
      "format": "uuid",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "name"
  ],
  "title": "ResourceMetadata",
  "type": "object"
}
