Class: OpenActive::Models::Schema::CreativeWork

Inherits:
Thing show all
Defined in:
lib/openactive/models/schema/creative_work.rb

Instance Attribute Summary collapse

Attributes inherited from Thing

#additional_type, #alternate_name, #description, #disambiguating_description, #identifier, #image, #main_entity_of_page, #name, #potential_action, #same_as, #subject_of, #url

Attributes inherited from JsonLdModel

#context, #id

Method Summary

Methods inherited from BaseModel

#assign_attributes, define_property, deserialize, #deserialize, deserialize_class, #initialize, #serialize, serialize, #set_property, #to_json

Methods included from Concerns::TypeChecker

#check_types, included

Methods included from Concerns::JsonLdSerializable

included, #to_h, #values

Constructor Details

This class inherits a constructor from OpenActive::BaseModel

Instance Attribute Details

#aboutOpenActive::Models::Schema::Thing



27
28
29
# File 'lib/openactive/models/schema/creative_work.rb', line 27

def about
  @about
end

#abstractString

Returns:

  • (String)


17
18
19
# File 'lib/openactive/models/schema/creative_work.rb', line 17

def abstract
  @abstract
end

#access_modeString

Returns:

  • (String)


54
55
56
# File 'lib/openactive/models/schema/creative_work.rb', line 54

def access_mode
  @access_mode
end

#access_mode_sufficientOpenActive::Models::Schema::ItemList



183
184
185
# File 'lib/openactive/models/schema/creative_work.rb', line 183

def access_mode_sufficient
  @access_mode_sufficient
end

#accessibility_apiString

Returns:

  • (String)


12
13
14
# File 'lib/openactive/models/schema/creative_work.rb', line 12

def accessibility_api
  @accessibility_api
end

#accessibility_controlString

Returns:

  • (String)


273
274
275
# File 'lib/openactive/models/schema/creative_work.rb', line 273

def accessibility_control
  @accessibility_control
end

#accessibility_featureString

Returns:

  • (String)


448
449
450
# File 'lib/openactive/models/schema/creative_work.rb', line 448

def accessibility_feature
  @accessibility_feature
end

#accessibility_hazardString

Returns:

  • (String)


235
236
237
# File 'lib/openactive/models/schema/creative_work.rb', line 235

def accessibility_hazard
  @accessibility_hazard
end

#accessibility_summaryString

Returns:

  • (String)


414
415
416
# File 'lib/openactive/models/schema/creative_work.rb', line 414

def accessibility_summary
  @accessibility_summary
end

#accountable_personOpenActive::Models::Schema::Person



194
195
196
# File 'lib/openactive/models/schema/creative_work.rb', line 194

def accountable_person
  @accountable_person
end

#aggregate_ratingOpenActive::Models::Schema::AggregateRating



173
174
175
# File 'lib/openactive/models/schema/creative_work.rb', line 173

def aggregate_rating
  @aggregate_rating
end

#alternative_headlineString

Returns:

  • (String)


178
179
180
# File 'lib/openactive/models/schema/creative_work.rb', line 178

def alternative_headline
  @alternative_headline
end

#associated_mediaOpenActive::Models::Schema::MediaObject



290
291
292
# File 'lib/openactive/models/schema/creative_work.rb', line 290

def associated_media
  @associated_media
end

#audienceOpenActive::Models::Schema::Audience



313
314
315
# File 'lib/openactive/models/schema/creative_work.rb', line 313

def audience
  @audience
end

#audioOpenActive::Models::Schema::Clip, OpenActive::Models::Schema::AudioObject



476
477
478
# File 'lib/openactive/models/schema/creative_work.rb', line 476

def audio
  @audio
end

#authorOpenActive::Models::Schema::Person, OpenActive::Models::Schema::Organization



154
155
156
# File 'lib/openactive/models/schema/creative_work.rb', line 154

def author
  @author
end

#awardString

Returns:

  • (String)


225
226
227
# File 'lib/openactive/models/schema/creative_work.rb', line 225

def award
  @award
end

#awardsString

Returns:

  • (String)


246
247
248
# File 'lib/openactive/models/schema/creative_work.rb', line 246

def awards
  @awards
end

#characterOpenActive::Models::Schema::Person



82
83
84
# File 'lib/openactive/models/schema/creative_work.rb', line 82

def character
  @character
end

#citationString, OpenActive::Models::Schema::CreativeWork



419
420
421
# File 'lib/openactive/models/schema/creative_work.rb', line 419

def citation
  @citation
end

#commentOpenActive::Models::Schema::Comment



230
231
232
# File 'lib/openactive/models/schema/creative_work.rb', line 230

def comment
  @comment
end

#comment_countint?

Returns:

  • (int, nil)


402
403
404
# File 'lib/openactive/models/schema/creative_work.rb', line 402

def comment_count
  @comment_count
end

#conditions_of_accessString

Returns:

  • (String)


494
495
496
# File 'lib/openactive/models/schema/creative_work.rb', line 494

def conditions_of_access
  @conditions_of_access
end

#content_locationOpenActive::Models::Schema::Place



347
348
349
# File 'lib/openactive/models/schema/creative_work.rb', line 347

def content_location
  @content_location
end

#content_ratingOpenActive::Models::Schema::Rating, String



32
33
34
# File 'lib/openactive/models/schema/creative_work.rb', line 32

def content_rating
  @content_rating
end

#content_reference_timeDateTime?

Returns:

  • (DateTime, nil)


482
483
484
# File 'lib/openactive/models/schema/creative_work.rb', line 482

def content_reference_time
  @content_reference_time
end

#contributorOpenActive::Models::Schema::Organization, OpenActive::Models::Schema::Person



127
128
129
# File 'lib/openactive/models/schema/creative_work.rb', line 127

def contributor
  @contributor
end


516
517
518
# File 'lib/openactive/models/schema/creative_work.rb', line 516

def copyright_holder
  @copyright_holder
end

Returns:

  • (BigDecimal, nil)


390
391
392
# File 'lib/openactive/models/schema/creative_work.rb', line 390

def copyright_year
  @copyright_year
end

#correctionString, ...



453
454
455
# File 'lib/openactive/models/schema/creative_work.rb', line 453

def correction
  @correction
end

#creative_work_statusString, OpenActive::Models::Schema::DefinedTerm



430
431
432
# File 'lib/openactive/models/schema/creative_work.rb', line 430

def creative_work_status
  @creative_work_status
end

#creatorOpenActive::Models::Schema::Organization, OpenActive::Models::Schema::Person



318
319
320
# File 'lib/openactive/models/schema/creative_work.rb', line 318

def creator
  @creator
end

#date_createdDate, ...

Returns:

  • (Date, DateTime, nil)


373
374
375
# File 'lib/openactive/models/schema/creative_work.rb', line 373

def date_created
  @date_created
end

#date_modifiedDate, ...

Returns:

  • (Date, DateTime, nil)


110
111
112
# File 'lib/openactive/models/schema/creative_work.rb', line 110

def date_modified
  @date_modified
end

#date_publishedDate?

Returns:

  • (Date, nil)


396
397
398
# File 'lib/openactive/models/schema/creative_work.rb', line 396

def date_published
  @date_published
end

#discussion_urlURI

Returns:

  • (URI)


380
381
382
# File 'lib/openactive/models/schema/creative_work.rb', line 380

def discussion_url
  @discussion_url
end

#editorOpenActive::Models::Schema::Person



215
216
217
# File 'lib/openactive/models/schema/creative_work.rb', line 215

def editor
  @editor
end

#educational_alignmentOpenActive::Models::Schema::AlignmentObject



38
39
40
# File 'lib/openactive/models/schema/creative_work.rb', line 38

def educational_alignment
  @educational_alignment
end

#educational_useString

Returns:

  • (String)


385
386
387
# File 'lib/openactive/models/schema/creative_work.rb', line 385

def educational_use
  @educational_use
end

#encodingOpenActive::Models::Schema::MediaObject



71
72
73
# File 'lib/openactive/models/schema/creative_work.rb', line 71

def encoding
  @encoding
end

#encoding_formatString, URI

Returns:

  • (String, URI)


240
241
242
# File 'lib/openactive/models/schema/creative_work.rb', line 240

def encoding_format
  @encoding_format
end

#encodingsOpenActive::Models::Schema::MediaObject



285
286
287
# File 'lib/openactive/models/schema/creative_work.rb', line 285

def encodings
  @encodings
end

#example_of_workOpenActive::Models::Schema::CreativeWork



87
88
89
# File 'lib/openactive/models/schema/creative_work.rb', line 87

def example_of_work
  @example_of_work
end

#expiresDate?

Returns:

  • (Date, nil)


436
437
438
# File 'lib/openactive/models/schema/creative_work.rb', line 436

def expires
  @expires
end

#file_formatURI, String

Returns:

  • (URI, String)


267
268
269
# File 'lib/openactive/models/schema/creative_work.rb', line 267

def file_format
  @file_format
end

#funderOpenActive::Models::Schema::Organization, OpenActive::Models::Schema::Person



48
49
50
# File 'lib/openactive/models/schema/creative_work.rb', line 48

def funder
  @funder
end

#genreString, URI

Returns:

  • (String, URI)


133
134
135
# File 'lib/openactive/models/schema/creative_work.rb', line 133

def genre
  @genre
end

#has_partOpenActive::Models::Schema::CreativeWork



220
221
222
# File 'lib/openactive/models/schema/creative_work.rb', line 220

def has_part
  @has_part
end

#headlineString

Returns:

  • (String)


295
296
297
# File 'lib/openactive/models/schema/creative_work.rb', line 295

def headline
  @headline
end

#in_languageString, OpenActive::Models::Schema::Language



510
511
512
# File 'lib/openactive/models/schema/creative_work.rb', line 510

def in_language
  @in_language
end

#interaction_statisticOpenActive::Models::Schema::InteractionCounter



22
23
24
# File 'lib/openactive/models/schema/creative_work.rb', line 22

def interaction_statistic
  @interaction_statistic
end

#interactivity_typeString

Returns:

  • (String)


425
426
427
# File 'lib/openactive/models/schema/creative_work.rb', line 425

def interactivity_type
  @interactivity_type
end

#is_accessible_for_freeBoolean?

Returns:

  • (Boolean, nil)


408
409
410
# File 'lib/openactive/models/schema/creative_work.rb', line 408

def is_accessible_for_free
  @is_accessible_for_free
end

#is_based_onURI, ...



306
307
308
# File 'lib/openactive/models/schema/creative_work.rb', line 306

def is_based_on
  @is_based_on
end

#is_based_on_urlURI, ...



166
167
168
# File 'lib/openactive/models/schema/creative_work.rb', line 166

def is_based_on_url
  @is_based_on_url
end

#is_family_friendlyBoolean?

Returns:

  • (Boolean, nil)


76
77
78
# File 'lib/openactive/models/schema/creative_work.rb', line 76

def is_family_friendly
  @is_family_friendly
end

#is_part_ofOpenActive::Models::Schema::CreativeWork



505
506
507
# File 'lib/openactive/models/schema/creative_work.rb', line 505

def is_part_of
  @is_part_of
end

#keywordsString

Returns:

  • (String)


144
145
146
# File 'lib/openactive/models/schema/creative_work.rb', line 144

def keywords
  @keywords
end

#learning_resource_typeString

Returns:

  • (String)


43
44
45
# File 'lib/openactive/models/schema/creative_work.rb', line 43

def learning_resource_type
  @learning_resource_type
end

#licenseURI, OpenActive::Models::Schema::CreativeWork



261
262
263
# File 'lib/openactive/models/schema/creative_work.rb', line 261

def license
  @license
end

#location_createdOpenActive::Models::Schema::Place



358
359
360
# File 'lib/openactive/models/schema/creative_work.rb', line 358

def location_created
  @location_created
end

#main_entityOpenActive::Models::Schema::Thing



122
123
124
# File 'lib/openactive/models/schema/creative_work.rb', line 122

def main_entity
  @main_entity
end

#materialURI, ...

Returns:



64
65
66
# File 'lib/openactive/models/schema/creative_work.rb', line 64

def material
  @material
end

#material_extentString, OpenActive::Models::Schema::QuantitativeValue



465
466
467
# File 'lib/openactive/models/schema/creative_work.rb', line 465

def material_extent
  @material_extent
end

#mentionsOpenActive::Models::Schema::Thing



363
364
365
# File 'lib/openactive/models/schema/creative_work.rb', line 363

def mentions
  @mentions
end

#offersOpenActive::Models::Schema::Offer



460
461
462
# File 'lib/openactive/models/schema/creative_work.rb', line 460

def offers
  @offers
end

#positionString, ...

Returns:

  • (String, int, nil)


530
531
532
# File 'lib/openactive/models/schema/creative_work.rb', line 530

def position
  @position
end

#producerOpenActive::Models::Schema::Organization, OpenActive::Models::Schema::Person



352
353
354
# File 'lib/openactive/models/schema/creative_work.rb', line 352

def producer
  @producer
end

#providerOpenActive::Models::Schema::Organization, OpenActive::Models::Schema::Person



300
301
302
# File 'lib/openactive/models/schema/creative_work.rb', line 300

def provider
  @provider
end

#publicationOpenActive::Models::Schema::PublicationEvent



324
325
326
# File 'lib/openactive/models/schema/creative_work.rb', line 324

def publication
  @publication
end

#publisherOpenActive::Models::Schema::Person, OpenActive::Models::Schema::Organization



335
336
337
# File 'lib/openactive/models/schema/creative_work.rb', line 335

def publisher
  @publisher
end

#publishing_principlesOpenActive::Models::Schema::CreativeWork, URI



329
330
331
# File 'lib/openactive/models/schema/creative_work.rb', line 329

def publishing_principles
  @publishing_principles
end

#recorded_atOpenActive::Models::Schema::Event



471
472
473
# File 'lib/openactive/models/schema/creative_work.rb', line 471

def recorded_at
  @recorded_at
end

#released_eventOpenActive::Models::Schema::PublicationEvent



149
150
151
# File 'lib/openactive/models/schema/creative_work.rb', line 149

def released_event
  @released_event
end

#reviewOpenActive::Models::Schema::Review



251
252
253
# File 'lib/openactive/models/schema/creative_work.rb', line 251

def review
  @review
end

#reviewsOpenActive::Models::Schema::Review



205
206
207
# File 'lib/openactive/models/schema/creative_work.rb', line 205

def reviews
  @reviews
end

#schema_versionURI, String

Returns:

  • (URI, String)


160
161
162
# File 'lib/openactive/models/schema/creative_work.rb', line 160

def schema_version
  @schema_version
end

#sd_date_publishedDate?

Returns:

  • (Date, nil)


499
500
501
# File 'lib/openactive/models/schema/creative_work.rb', line 499

def sd_date_published
  @sd_date_published
end

#sd_licenseURI, OpenActive::Models::Schema::CreativeWork



442
443
444
# File 'lib/openactive/models/schema/creative_work.rb', line 442

def sd_license
  @sd_license
end

#sd_publisherOpenActive::Models::Schema::Person, OpenActive::Models::Schema::Organization



488
489
490
# File 'lib/openactive/models/schema/creative_work.rb', line 488

def sd_publisher
  @sd_publisher
end

#source_organizationOpenActive::Models::Schema::Organization



92
93
94
# File 'lib/openactive/models/schema/creative_work.rb', line 92

def source_organization
  @source_organization
end

#spatialOpenActive::Models::Schema::Place



256
257
258
# File 'lib/openactive/models/schema/creative_work.rb', line 256

def spatial
  @spatial
end

#spatial_coverageOpenActive::Models::Schema::Place



368
369
370
# File 'lib/openactive/models/schema/creative_work.rb', line 368

def spatial_coverage
  @spatial_coverage
end


341
342
343
# File 'lib/openactive/models/schema/creative_work.rb', line 341

def sponsor
  @sponsor
end

#temporalDateTime, ...

Returns:

  • (DateTime, String, nil)


278
279
280
# File 'lib/openactive/models/schema/creative_work.rb', line 278

def temporal
  @temporal
end

#temporal_coverageDateTime, ...

Returns:

  • (DateTime, String, URI, nil)


522
523
524
# File 'lib/openactive/models/schema/creative_work.rb', line 522

def temporal_coverage
  @temporal_coverage
end

#textString

Returns:

  • (String)


117
118
119
# File 'lib/openactive/models/schema/creative_work.rb', line 117

def text
  @text
end

#thumbnail_urlURI

Returns:

  • (URI)


210
211
212
# File 'lib/openactive/models/schema/creative_work.rb', line 210

def thumbnail_url
  @thumbnail_url
end

#time_requiredActiveSupport::Duration?

Returns:

  • (ActiveSupport::Duration, nil)


188
189
190
# File 'lib/openactive/models/schema/creative_work.rb', line 188

def time_required
  @time_required
end

#translatorOpenActive::Models::Schema::Organization, OpenActive::Models::Schema::Person



199
200
201
# File 'lib/openactive/models/schema/creative_work.rb', line 199

def translator
  @translator
end

#typeString

Returns:

  • (String)


7
8
9
# File 'lib/openactive/models/schema/creative_work.rb', line 7

def type
  "schema:CreativeWork"
end

#typical_age_rangeString

Returns:

  • (String)


139
140
141
# File 'lib/openactive/models/schema/creative_work.rb', line 139

def typical_age_range
  @typical_age_range
end

#versionString, ...

Returns:

  • (String, BigDecimal, nil)


97
98
99
# File 'lib/openactive/models/schema/creative_work.rb', line 97

def version
  @version
end

#videoOpenActive::Models::Schema::Clip, OpenActive::Models::Schema::VideoObject



104
105
106
# File 'lib/openactive/models/schema/creative_work.rb', line 104

def video
  @video
end

#work_exampleOpenActive::Models::Schema::CreativeWork



59
60
61
# File 'lib/openactive/models/schema/creative_work.rb', line 59

def work_example
  @work_example
end