@sovereignbase/schema-crdt
    Preparing search index...

    Class CRMediaObject<Type, Shape, Snapshot>

    CRDT-backed Schema.org MediaObject.

    Schema.org: A media object, such as an image, video, audio, or text object embedded in a web page or a downloadable dataset.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    @id @type about abstract accessibilityAPI accessibilityControl accessibilityFeature accessibilityHazard accessibilitySummary accessMode accessModeSufficient accountablePerson acquireLicensePage additionalType aggregateRating alternateName alternativeHeadline archivedAt assesses associatedArticle associatedMedia audience audio author award bitrate character citation comment commentCount conditionsOfAccess contentLocation contentRating contentReferenceTime contentSize contentUrl contributor copyrightHolder copyrightNotice copyrightYear correction countryOfOrigin creativeWorkStatus creator creditText dateCreated dateModified datePublished description digitalSourceType disambiguatingDescription discussionUrl displayLocation duration editEIDR editor educationalAlignment educationalLevel educationalUse embedUrl encodesCreativeWork encoding encodingFormat endTime exampleOfWork expires formatValidators funder funding genre hasPart headline height identifier image ineligibleRegion inLanguage interactionStatistic interactivityType interpretedAsClaim isAccessibleForFree isBasedOn isFamilyFriendly isPartOf keywords learningResourceType license locationCreated mainEntity mainEntityOfPage maintainer material materialExtent mentions name offers owner pattern playerType position potentialAction producer productionCompany provider publication publisher publisherImprint publishingPrinciples recordedAt regionsAllowed releasedEvent requiresSubscription review sameAs schemaVersion sdDatePublished sdLicense sdPublisher sha256 size sourceOrganization spatial spatialCoverage sponsor startTime subjectOf teaches temporal temporalCoverage text thumbnail thumbnailUrl timeRequired translationOfWork translator typicalAgeRange uploadDate url usageInfo version video width wordCount workExample workTranslation

    Methods

    Constructors

    Properties

    "@id": string

    JSON-LD identifier for this node.

    "@type": Type

    Schema.org type name for this node.

    about: Readonly<CRSet<CRCreativeWorkThing>>
    abstract: Readonly<CRText>
    accessibilityAPI: Readonly<CRSet<string>>
    accessibilityControl: Readonly<CRSet<string>>
    accessibilityFeature: Readonly<CRSet<string>>
    accessibilityHazard: Readonly<CRSet<string>>
    accessibilitySummary: Readonly<CRText>
    accessMode: Readonly<CRSet<string>>
    accessModeSufficient: Readonly<
        CRSet<
            | CRIdReferenceValue
            | CRItemListSnapshot
            | CRTypedIdReferenceValue<"ItemList">,
        >,
    >
    accountablePerson: Readonly<CRSet<CRCreativeWorkPerson>>
    acquireLicensePage: Readonly<CRSet<CRCreativeWorkReferenceOrURL>>
    additionalType: Readonly<CRSet<string>>

    Schema.org additionalType: An additional type for the item.

    aggregateRating: Readonly<CRSet<CRIdReferenceValue | CRAggregateRatingSnapshot>>
    alternateName: Readonly<CRSet<string>>

    Schema.org alternateName: An alias for the item.

    alternativeHeadline: Readonly<CRText>
    archivedAt: Readonly<CRSet<CRCreativeWorkArchivedAt>>
    assesses: Readonly<CRSet<CRCreativeWorkDefinedTermText>>
    associatedArticle: Readonly<CRSet<CRMediaObjectAssociatedArticle>>

    Schema.org associatedArticle: A NewsArticle associated with the MediaObject.

    associatedMedia: Readonly<CRSet<CRCreativeWorkMediaObject>>
    audience: Readonly<
        CRSet<CRIdReferenceValue | CRTypedIdReferenceValue<"Audience">>,
    >
    audio: Readonly<CRSet<CRCreativeWorkAudio>>
    author: Readonly<CRSet<CRCreativeWorkPersonOrOrganization>>
    award: Readonly<CRSet<string>>
    bitrate: string

    Schema.org bitrate: The bitrate of the media object.

    character: Readonly<CRSet<CRCreativeWorkPerson>>
    citation: Readonly<CRSet<string | CRCreativeWorkReference>>
    comment: Readonly<
        CRSet<CRIdReferenceValue | CRTypedIdReferenceValue<"Comment">>,
    >
    commentCount: number
    conditionsOfAccess: Readonly<CRText>
    contentLocation: Readonly<CRSet<CRCreativeWorkPlace>>
    contentRating: Readonly<CRSet<CRCreativeWorkContentRating>>
    contentReferenceTime: string
    contentSize: string

    Schema.org contentSize: File size in bytes, kilobytes or megabytes.

    contentUrl: string

    Schema.org contentUrl: Actual bytes of the media object.

    contributor: Readonly<CRSet<CRCreativeWorkPersonOrOrganization>>
    copyrightHolder: Readonly<CRSet<CRCreativeWorkPersonOrOrganization>>
    copyrightNotice: Readonly<CRText>
    copyrightYear: number
    correction: Readonly<CRSet<CRCreativeWorkCorrection>>
    countryOfOrigin: Readonly<
        CRSet<
            | CRIdReferenceValue
            | CRTypedIdReferenceValue<"Country">
            | CRCountrySnapshot,
        >,
    >
    creativeWorkStatus: Readonly<CRSet<CRCreativeWorkDefinedTermText>>
    creator: Readonly<CRSet<CRCreativeWorkPersonOrOrganization>>
    creditText: Readonly<CRText>
    dateCreated: string
    dateModified: string
    datePublished: string
    description: Readonly<CRText>

    Schema.org description: A description of the item.

    digitalSourceType: Readonly<
        CRSet<
            | CRIdReferenceValue
            | CRTypedIdReferenceValue<"IPTCDigitalSourceEnumeration">,
        >,
    >
    disambiguatingDescription: Readonly<CRText>

    Schema.org disambiguatingDescription: A short description used to disambiguate the item from other, similar items.

    discussionUrl: string
    displayLocation: Readonly<CRSet<CRCreativeWorkPlace>>

    Schema.org duration: Duration in ISO 8601 duration format.

    editEIDR: Readonly<CRSet<string>>
    editor: Readonly<CRSet<CRCreativeWorkPerson>>
    educationalAlignment: Readonly<
        CRSet<CRIdReferenceValue | CRTypedIdReferenceValue<"AlignmentObject">>,
    >
    educationalLevel: Readonly<CRSet<CRCreativeWorkDefinedTermTextOrURL>>
    educationalUse: Readonly<CRSet<CRCreativeWorkDefinedTermText>>
    embedUrl: string

    Schema.org embedUrl: A URL pointing to a player for a specific video.

    encodesCreativeWork: Readonly<
        CRSet<
            | CRIdReferenceValue
            | CRTypedIdReferenceValue<"WebPage">
            | CRCreativeWorkSnapshot,
        >,
    >

    Schema.org encodesCreativeWork: The CreativeWork encoded by this media object.

    encoding: Readonly<CRSet<CRCreativeWorkMediaObject>>
    encodingFormat: Readonly<CRSet<string>>
    endTime: string

    Schema.org endTime: End time or media clip offset.

    exampleOfWork: Readonly<CRSet<CRCreativeWorkReference>>
    expires: string
    funder: Readonly<CRSet<CRCreativeWorkPersonOrOrganization>>
    funding: Readonly<CRSet<CRIdReferenceValue | CRTypedIdReferenceValue<"Grant">>>
    genre: Readonly<CRSet<CRCreativeWorkDefinedTermTextOrURL>>
    hasPart: Readonly<CRSet<CRCreativeWorkReference>>
    headline: Readonly<CRText>

    Schema.org height: The height of the item.

    identifier: Readonly<
        string
        | CRIdReferenceValue
        | CRTypedIdReferenceValue<"PropertyValue">,
    >

    Schema.org identifier.

    image: Readonly<CRSet<CRThingImage>>

    Schema.org image: An image of the item.

    ineligibleRegion: Readonly<CRSet<CRMediaObjectRegion>>

    Schema.org ineligibleRegion: Region where this media is not valid.

    inLanguage: Readonly<CRSet<CRCreativeWorkLanguage>>
    interactionStatistic: Readonly<
        CRSet<
            CRIdReferenceValue
            | CRTypedIdReferenceValue<"InteractionCounter">,
        >,
    >
    interactivityType: Readonly<CRSet<string>>
    interpretedAsClaim: Readonly<CRSet<CRTypedIdReferenceValue<"Claim">>> & Readonly<
        CRSet<CRIdReferenceValue | CRTypedIdReferenceValue<"Claim">>,
    >
    isAccessibleForFree: boolean
    isBasedOn: Readonly<CRSet<CRCreativeWorkBasedOn>>
    isFamilyFriendly: boolean
    isPartOf: Readonly<CRSet<CRCreativeWorkReferenceOrURL>>
    keywords: Readonly<CRSet<CRCreativeWorkDefinedTermTextOrURL>>
    learningResourceType: Readonly<CRSet<CRCreativeWorkDefinedTermText>>
    license: Readonly<CRSet<CRCreativeWorkReferenceOrURL>>
    locationCreated: Readonly<CRSet<CRCreativeWorkPlace>>
    mainEntity: Readonly<CRSet<CRCreativeWorkThing>>
    mainEntityOfPage: Readonly<CRSet<CRThingMainEntityOfPage>>

    Schema.org mainEntityOfPage: A page or other CreativeWork for which this thing is the main entity being described.

    maintainer: Readonly<CRSet<CRCreativeWorkPersonOrOrganization>>
    material: Readonly<CRSet<CRCreativeWorkProductTextOrURL>>
    materialExtent: Readonly<CRSet<CRCreativeWorkMaterialExtent>>
    mentions: Readonly<CRSet<CRCreativeWorkThing>>
    name: Readonly<CRText>

    Schema.org name: The name of the item.

    offers: Readonly<CRSet<CRCreativeWorkOffer>>
    owner: Readonly<CRSet<CRThingOwner>>

    Schema.org owner: A person or organization who owns this Thing.

    pattern: Readonly<CRSet<CRCreativeWorkDefinedTermText>>
    playerType: string

    Schema.org playerType: Player type required.

    position: string | number
    potentialAction: Readonly<CRSet<CRThingPotentialAction>>

    Schema.org potentialAction: A potential Action for this Thing.

    producer: Readonly<CRSet<CRCreativeWorkPersonOrOrganization>>
    productionCompany: Readonly<CRSet<CRTypedIdReferenceValue<"Organization">>>

    Schema.org productionCompany: Organization responsible for the item.

    provider: Readonly<CRSet<CRCreativeWorkPersonOrOrganization>>
    publication: Readonly<CRSet<CRCreativeWorkPublicationEvent>>
    publisher: Readonly<CRSet<CRCreativeWorkPersonOrOrganization>>
    publisherImprint: Readonly<CRSet<CRCreativeWorkOrganization>>
    publishingPrinciples: Readonly<CRSet<CRCreativeWorkReferenceOrURL>>
    recordedAt: Readonly<CRSet<CRCreativeWorkEvent>>
    regionsAllowed: Readonly<
        CRSet<CRIdReferenceValue | CRTypedIdReferenceValue<"Place">>,
    >

    Schema.org regionsAllowed: Regions where the media is allowed.

    releasedEvent: Readonly<CRSet<CRCreativeWorkPublicationEvent>>
    requiresSubscription: CRMediaObjectRequiresSubscription

    Schema.org requiresSubscription: Whether use of the media requires a subscription.

    review: Readonly<CRSet<CRCreativeWorkReview>>
    sameAs: Readonly<CRSet<string>>

    Schema.org sameAs: URL of a reference Web page that unambiguously indicates the item's identity.

    schemaVersion: Readonly<CRSet<string>>
    sdDatePublished: string
    sdLicense: Readonly<CRSet<CRCreativeWorkReferenceOrURL>>
    sdPublisher: Readonly<CRSet<CRCreativeWorkPersonOrOrganization>>
    sha256: string

    Schema.org sha256: SHA-2 SHA256 hash of the content.

    size: Readonly<CRSet<CRCreativeWorkSize>>
    sourceOrganization: Readonly<CRSet<CRCreativeWorkOrganization>>
    spatial: Readonly<CRSet<CRCreativeWorkPlace>>
    spatialCoverage: Readonly<CRSet<CRCreativeWorkPlace>>
    sponsor: Readonly<CRSet<CRCreativeWorkPersonOrOrganization>>
    startTime: string

    Schema.org startTime: Start time or media clip offset.

    subjectOf: Readonly<CRSet<CRThingSubjectOf>>

    Schema.org subjectOf: A CreativeWork or Event about this Thing.

    teaches: Readonly<CRSet<CRCreativeWorkDefinedTermText>>
    temporal: string
    temporalCoverage: string
    text: Readonly<CRText>
    thumbnail: Readonly<CRSet<CRCreativeWorkThumbnail>>
    thumbnailUrl: string
    timeRequired: string
    translationOfWork: Readonly<CRSet<CRCreativeWorkReference>>
    translator: Readonly<CRSet<CRCreativeWorkPersonOrOrganization>>
    typicalAgeRange: string
    uploadDate: string

    Schema.org uploadDate: Date when this media object was uploaded.

    url: string

    Schema.org url: URL of the item.

    usageInfo: Readonly<CRSet<CRCreativeWorkReferenceOrURL>>
    video: Readonly<CRSet<CRCreativeWorkVideo>>

    Schema.org width: The width of the item.

    wordCount: number
    workExample: Readonly<CRSet<CRCreativeWorkReference>>
    workTranslation: Readonly<CRSet<CRCreativeWorkReference>>

    Methods

    • Removes overwritten identifiers that every provided frontier has acknowledged.

      Parameters

      • frontiers: Partial<Record<keyof Shape, string>>[]

        A collection of acknowledgement frontiers to compact against.

      Returns void

    • Returns the struct field keys.

      Type Parameters

      • K extends string | number | symbol

      Returns K[]

      The field keys in the current replica.

    • Applies a remote or local delta to the replica state.

      Parameters

      • crStructDelta: Partial<CRStructSnapshot<Shape>> | Partial<Record<keyof Shape, unknown>>

        The partial serializable field delta to merge.

      Returns void