What info do I need to create a colorspace

I want to create a colorspace and add it to the config.ocio, what information do I need to create this colorspace.
Example, I want to create the LogC4 colorspace and add support for it in v1 config

You need the matrix to transform from the encoding primaries to AP0, and the linearisation curve. You can find both of those for LogC4 in the CTL IDT.

You then need to bake the linearisation curve into a 1D LUT, for use in a v1 OCIO config.