function isSingleProperty (schema) {
  if ('type' in schema) {
    return typeof schema.type === 'string';
  }
  return 'default' in schema;
}
A schema is classified as a schema for a single property if:
- `type` is defined on the schema as a string.
- OR `default` is defined on the schema, as a reserved keyword.
- OR schema is empty.