The casing on the lookup values for company_summary and company_type in the constants lookup (api-enumerations/constants.yml at develop · companieshouse/api-enumerations · GitHub) is all over the place.
For example:
‘private-unlimited’ : “A private unlimited company”
‘ltd’ : “A Private Limited Company”
‘plc’ : “A Public Limited Company”
‘old-public-company’ : “An old public company”
‘assurance-company’ : “An Assurance Company”
‘oversea-company’ : “An overseas company”
These are the values currently in use on the beta search site, so you can see them rendered this way. It’s easy enough to fix this in our own copies of these tables, but that takes us out-of-synch with the “official” data, which I’d rather avoid.
Also there is a typo in company_type:
‘private-limited-guarant-nsc-limited-exemption’ : “Private limited by guarantee without share capital, use of ‘Limited’ exemption”
The word “company” is missing.