Skip to main content
An opaque schema is a metadata-only schema that regards all config instances as valid. Opaque schemas are useful for config formats which do not have a supported schema language. At the time of writing, this includes:
  • XML configuration files
  • Plain text configuration files (.conf, .txt, etc.)

Example

Below are examples of opaque schemas:
Consult the schema annotations documentation to learn more about what the individual fields mean and how to use them.

File formats

Opaque schemas themselves are written as JSON or YAML. Unlike the other languages, CUE is not accepted here:
  • JSON (.json)
  • YAML (.yaml, .yml)
Opaque schemas accept the widest set of config instance formats of any Miru schema language:
  • JSON
  • YAML
  • XML
  • Text
YAML support requires Miru Agent v0.7.0 or newer
Last modified on August 6, 2026