docs: def _example_from_complex_def(self, prop_spec):
          """Get an example from a property specification.
  
          In case there is no "type" key in the root of the dictionary.
  
          Args:
              prop_spec: property specification you want an example of.
  
          Returns:
              An example.
          """
          if 'schema' not in prop_spec:
              return [{}]
          elif 'type' not in prop_spec['schema']:
              definition_name = self.get_definition_name_from_ref(prop_spec['schema']['$ref'])
              if self.build_one_definition_example(definition_name):
                  return self.definitions_example[definition_name]
          elif prop_spec['schema']['type'] == 'array':  # Array with definition
              # Get value from definition
              if 'items' in prop_spec.keys():
                  definition_name = self.get_definition_name_from_ref(prop_spec['items']['$ref'])
              else:
                  if '$ref' in prop_spec['schema']['items']:
                      definition_name = self.get_definition_name_from_ref(prop_spec['schema']['items']['$ref'])
                  else:
                      definition_name = self.get_definition_name_from_ref(prop_spec['schema']['items']['type'])
                      return [definition_name]
              return [self.definitions_example[definition_name]]
          else:
              return self.get_example_from_prop_spec(prop_spec['schema'])