Class: SchemaOrg::Person
- Inherits:
-
Base
- Object
- Base
- SchemaOrg::Person
show all
- Includes:
- Mixins::Person, _Person
- Defined in:
- lib/schema_org/types/person.rb,
sig/schema_org.rbs
Overview
Constant Summary
collapse
- SCHEMA_NAME =
"Person"
- SCHEMA_TYPES =
[self, SchemaOrg::Thing].freeze
Class Method Summary
collapse
Instance Method Summary
collapse
#additional_name, #additional_name=, #address, #address=, #affiliation, #affiliation=, #agent_interaction_statistic, #agent_interaction_statistic=, #alumni_of, #alumni_of=, #award, #award=, #awards, #awards=, #birth_date, #birth_date=, #birth_place, #birth_place=, #brand, #brand=, #call_sign, #call_sign=, #children, #children=, #colleague, #colleague=, #colleagues, #colleagues=, #contact_point, #contact_point=, #contact_points, #contact_points=, #death_date, #death_date=, #death_place, #death_place=, #duns, #duns=, #email, #email=, #family_name, #family_name=, #fax_number, #fax_number=, #follows, #follows=, #funder, #funder=, #funding, #funding=, #gender, #gender=, #given_name, #given_name=, #global_location_number, #global_location_number=, #has_certification, #has_certification=, #has_credential, #has_credential=, #has_occupation, #has_occupation=, #has_offer_catalog, #has_offer_catalog=, #has_pos, #has_pos=, #height, #height=, #home_location, #home_location=, #honorific_prefix, #honorific_prefix=, #honorific_suffix, #honorific_suffix=, #interaction_statistic, #interaction_statistic=, #isic_v4, #isic_v4=, #job_title, #job_title=, #knows, #knows=, #knows_about, #knows_about=, #knows_language, #knows_language=, #life_event, #life_event=, #makes_offer, #makes_offer=, #member_of, #member_of=, #naics, #naics=, #nationality, #nationality=, #net_worth, #net_worth=, #owns, #owns=, #parent, #parent=, #parents, #parents=, #performer_in, #performer_in=, #pronouns, #pronouns=, #publishing_principles, #publishing_principles=, #related_to, #related_to=, schema_property_definitions, #seeks, #seeks=, #sibling, #sibling=, #siblings, #siblings=, #skills, #skills=, #sponsor, #sponsor=, #spouse, #spouse=, #tax_id, #tax_id=, #telephone, #telephone=, #vat_id, #vat_id=, #weight, #weight=, #work_location, #work_location=, #works_for, #works_for=
#additional_type, #additional_type=, #alternate_name, #alternate_name=, #description, #description=, #disambiguating_description, #disambiguating_description=, #identifier, #identifier=, #image, #image=, #main_entity_of_page, #main_entity_of_page=, #name, #name=, #owner, #owner=, #potential_action, #potential_action=, #same_as, #same_as=, schema_property_definitions, #subject_of, #subject_of=, #url, #url=
Methods included from _Person
#additional_name, #additional_name=, #additional_type, #additional_type=, #address, #address=, #affiliation, #affiliation=, #agent_interaction_statistic, #agent_interaction_statistic=, #alternate_name, #alternate_name=, #alumni_of, #alumni_of=, #award, #award=, #awards, #awards=, #birth_date, #birth_date=, #birth_place, #birth_place=, #brand, #brand=, #call_sign, #call_sign=, #children, #children=, #colleague, #colleague=, #colleagues, #colleagues=, #contact_point, #contact_point=, #contact_points, #contact_points=, #death_date, #death_date=, #death_place, #death_place=, #description, #description=, #disambiguating_description, #disambiguating_description=, #duns, #duns=, #email, #email=, #family_name, #family_name=, #fax_number, #fax_number=, #follows, #follows=, #funder, #funder=, #funding, #funding=, #gender, #gender=, #given_name, #given_name=, #global_location_number, #global_location_number=, #has_certification, #has_certification=, #has_credential, #has_credential=, #has_occupation, #has_occupation=, #has_offer_catalog, #has_offer_catalog=, #has_pos, #has_pos=, #height, #height=, #home_location, #home_location=, #honorific_prefix, #honorific_prefix=, #honorific_suffix, #honorific_suffix=, #identifier, #identifier=, #image, #image=, #interaction_statistic, #interaction_statistic=, #isic_v4, #isic_v4=, #job_title, #job_title=, #knows, #knows=, #knows_about, #knows_about=, #knows_language, #knows_language=, #life_event, #life_event=, #main_entity_of_page, #main_entity_of_page=, #makes_offer, #makes_offer=, #member_of, #member_of=, #naics, #naics=, #name, #name=, #nationality, #nationality=, #net_worth, #net_worth=, #owner, #owner=, #owns, #owns=, #parent, #parent=, #parents, #parents=, #performer_in, #performer_in=, #potential_action, #potential_action=, #pronouns, #pronouns=, #publishing_principles, #publishing_principles=, #related_to, #related_to=, #same_as, #same_as=, #seeks, #seeks=, #sibling, #sibling=, #siblings, #siblings=, #skills, #skills=, #sponsor, #sponsor=, #spouse, #spouse=, #subject_of, #subject_of=, #tax_id, #tax_id=, #telephone, #telephone=, #url, #url=, #vat_id, #vat_id=, #weight, #weight=, #work_location, #work_location=, #works_for, #works_for=
Class Method Details
.new(**properties) ⇒ Person
30
31
32
|
# File 'lib/schema_org/types/person.rb', line 30
def new(**properties)
super
end
|
.schema_name ⇒ String
17
18
19
|
# File 'lib/schema_org/types/person.rb', line 17
def schema_name
SCHEMA_NAME
end
|
.schema_type?(other_type) ⇒ Boolean
25
26
27
28
|
# File 'lib/schema_org/types/person.rb', line 25
def schema_type?(other_type)
Base.schema_type_argument!(other_type)
SCHEMA_TYPES.include?(other_type)
end
|
.schema_types ⇒ ::Array[::Class]
21
22
23
|
# File 'lib/schema_org/types/person.rb', line 21
def schema_types
SCHEMA_TYPES
end
|
Instance Method Details
#schema_type? ⇒ Boolean
93102
|
# File 'sig/schema_org.rbs', line 93102
def schema_type?: (untyped) -> bool
|
#schema_types ⇒ ::Array[::Class]
93101
|
# File 'sig/schema_org.rbs', line 93101
def schema_types: () -> ::Array[::Class]
|