class BiDiGenerate::Schema
def baked_discriminator?(field)
settable value (the literal to set, null to clear), so it stays a normal field that
`literal | null` (browsingContext.setBypassCSP, emulation.setScriptingEnabled) is a
A const field is a baked discriminator tag, unless it is also nullable: the spec's
def baked_discriminator?(field) field['type'].key?('const') && !field['type']['nullable'] end