Using ArcGIS REST API to update the definition of the 'hasSharedDomains' property from 'false' to 'true' of a feature service that has feature layer views returns the errors, "Invalid definition for 'SourceSchemaChangesAllowed'" and "Invalid definition for System.Boolean", whereas a hosted feature layer without views can be updated from 'false' to 'true' to opt into the shared domain model to support the cascading domains.