I want to let user allow flexibility to provide only one of either ref_id
or dataCenter
. Could someone correct this schema ?
kind: kind
metadata:
name: kind.v1
namespace: system
spec:
descrption: This is an example specification
schema:
type: object
properties:
ref_id:
type: string
minLength: 25
maxLength: 40
dataCenter:
type: string
enum:
- "abc"
- "xyzzy"
version:
type: integer
example: 1
required:
- ref_id
- dataCenter
- version