Hi there! I've started discovery on Compass as a tool to catalogue our software landscape. So far I'm impressed by its features, however the lack of a publicly accessible schema for the compass.yml file makes documenting through code a less than viable option.
However! Instead of coming here to complain I figured I might as well create a rough draft of the schema myself and share it here! It has been a while since I've had to create a schema myself, so any suggestions and/or improvements are welcome.
The schema currently supports:
- All inputs defined in the documentation
- Validation for enum-esque inputs
- component types
- lifecycle stages
- link types
- custom field types (only the type itself, not the actual value)
- Validation of typeId in conjunction with the tier field (as described under the fields section in the docs)
- Pattern validation for component and team ARI's
GitHub gist - Compass schema
Raw schema (directly usable)