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

    Class CRPlace<Type, Shape, Snapshot>

    CRDT-backed Schema.org Thing.

    Schema.org: The most generic type of item.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    "@id": string

    JSON-LD identifier for this node.

    "@type": Type

    Schema.org type name for this node.

    additionalProperty: Readonly<CRSet<CRPlaceAdditionalProperty>>
    additionalType: Readonly<CRSet<string>>

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

    address: Readonly<CRSet<CRPlaceAddress>>
    aggregateRating: Readonly<CRSet<CRPlaceAggregateRating>>
    alternateName: Readonly<CRSet<string>>

    Schema.org alternateName: An alias for the item.

    amenityFeature: Readonly<CRSet<CRPlaceAmenityFeature>>
    branchCode: string
    containedInPlace: Readonly<CRSet<CRPlaceRelation>>
    containsPlace: Readonly<CRSet<CRPlaceRelation>>
    description: Readonly<CRText>

    Schema.org description: A description of the item.

    disambiguatingDescription: Readonly<CRText>

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

    event: Readonly<CRSet<CRPlaceEvent>>
    faxNumber: string
    geo: Readonly<CRSet<CRPlaceGeo>>
    geoContains: Readonly<CRSet<CRGeospatialGeometryRelation>>
    geoCoveredBy: Readonly<CRSet<CRGeospatialGeometryRelation>>
    geoCovers: Readonly<CRSet<CRGeospatialGeometryRelation>>
    geoCrosses: Readonly<CRSet<CRGeospatialGeometryRelation>>
    geoDisjoint: Readonly<CRSet<CRGeospatialGeometryRelation>>
    geoEquals: Readonly<CRSet<CRGeospatialGeometryRelation>>
    geoIntersects: Readonly<CRSet<CRGeospatialGeometryRelation>>
    geoOverlaps: Readonly<CRSet<CRGeospatialGeometryRelation>>
    geoTouches: Readonly<CRSet<CRGeospatialGeometryRelation>>
    geoWithin: Readonly<CRSet<CRGeospatialGeometryRelation>>
    globalLocationNumber: string
    hasCertification: Readonly<
        CRSet<
            string
            | CRIdReferenceValue
            | CRTypedIdReferenceValue<"Certification">,
        >,
    >
    hasDriveThroughService: boolean
    hasGS1DigitalLink: string
    hasMap: Readonly<CRSet<CRPlaceMap>>
    identifier: Readonly<
        string
        | CRIdReferenceValue
        | CRTypedIdReferenceValue<"PropertyValue">,
    >

    Schema.org identifier.

    image: Readonly<CRSet<CRThingImage>>

    Schema.org image: An image of the item.

    isAccessibleForFree: boolean
    isicV4: string
    keywords: Readonly<CRSet<string | CRIdReferenceValue | CRDefinedTermSnapshot>>
    latitude: string
    logo: Readonly<CRSet<CRPlaceImage>>
    longitude: string
    mainEntityOfPage: Readonly<CRSet<CRThingMainEntityOfPage>>

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

    maximumAttendeeCapacity: number
    name: Readonly<CRText>

    Schema.org name: The name of the item.

    openingHoursSpecification: Readonly<CRSet<CRPlaceOpeningHoursSpecification>>
    owner: Readonly<CRSet<CRThingOwner>>

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

    photo: Readonly<CRSet<CRPlaceImage>>
    potentialAction: Readonly<CRSet<CRThingPotentialAction>>

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

    publicAccess: boolean
    review: Readonly<CRSet<CRPlaceReview>>
    sameAs: Readonly<CRSet<string>>

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

    slogan: Readonly<CRText>
    smokingAllowed: boolean
    specialOpeningHoursSpecification: Readonly<
        CRSet<CRPlaceOpeningHoursSpecification>,
    >
    subjectOf: Readonly<CRSet<CRThingSubjectOf>>

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

    telephone: string
    tourBookingPage: string
    url: string

    Schema.org url: URL of the item.

    Methods

    • Returns cloned key-value pairs for the current replica state.

      Type Parameters

      • K extends string | number | symbol

      Returns [K, Shape[K]][]

      The current field entries.

    • 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

    • Returns the current serializable snapshot projection of this replica.

      Called automatically by JSON.stringify.

      Returns CRStructSnapshot<Shape>

    • Returns cloned copies of the current field values.

      Type Parameters

      • K extends string | number | symbol

      Returns Shape[K][]

      The current field values.