Recipe

public class Recipe : Item

A set of instructions for preparing a particular dish, including a list of the ingredients required.

  • The title of an Item.

    Declaration

    Swift

    @objc
    dynamic var title: String?
  • An abstract is a short description that summarizes an Items content.

    Declaration

    Swift

    @objc
    dynamic var abstract: String?
  • Date of first broadcast/publication.

    Declaration

    Swift

    @objc
    dynamic var datePublished: Date?
  • Keywords or tags used to describe this content. Multiple entries in a keywords list are typically delimited by commas.

    Declaration

    Swift

    @objc
    dynamic var keyword: String?
  • The content of an Item.

    Declaration

    Swift

    @objc
    dynamic var content: String?
  • The plain text content of an Item, without styling or syntax for Markdown, HTML, etc.

    Declaration

    Swift

    @objc
    dynamic var textContent: String?
  • If this MediaObject is an AudioObject or VideoObject, the transcript of that object.

    Declaration

    Swift

    @objc
    dynamic var transcript: String?
  • The type or (sub)category of some Item.

    Declaration

    Swift

    @objc
    dynamic var itemType: String?
  • The duration of an Item, for instance an event or an Audio file.

    Declaration

    Swift

    let duration: RealmOptional<Int>
  • A set of steps to reach a certain goal.

    Declaration

    Swift

    @objc
    dynamic var instructions: String?
  • An audio object.

    Declaration

    Swift

    var audio: Results<Audio>? { get }
  • A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.

    Declaration

    Swift

    var citation: Results<CreativeWork>? { get }
  • The location depicted or described in the content. For example, the location in a photograph or painting.

    Declaration

    Swift

    var contentLocation: Results<Location>? { get }
  • The location where the Item was created, which may not be the same as the location depicted in the Item.

    Declaration

    Swift

    var locationCreated: Results<Location>? { get }
  • A video object.

    Declaration

    Swift

    var video: Results<Video>? { get }
  • The author of this Item.

    Declaration

    Swift

    var writtenBy: Results<Person>? { get }
  • Any type of file that can be stored on disk.

    Declaration

    Swift

    var file: Results<File>? { get }
  • The event where something is recorded.

    Declaration

    Swift

    var recordedAt: Results<Event>? { get }
  • A review of the Item.

    Declaration

    Swift

    var review: Results<Review>? { get }
  • An ingredient of an Item.

    Declaration

    Swift

    var ingredient: Results<Product>? { get }
  • The price or cost of an Item, typically for one instance of the Item or the defaultQuantity.

    Declaration

    Swift

    var price: Results<Measure>? { get }
  • The amount produced or financial return.

    Declaration

    Swift

    var yields: Results<Measure>? { get }
  • Some tool required by an Item.

    Declaration

    Swift

    var toolRequired: Results<Product>? { get }
  • Undocumented

    Declaration

    Swift

    public required convenience init(from decoder: Decoder) throws