• Creates a valid CheckingInMetadata.

    Parameters

    • input: CheckingInOptions

      Use your IDE suggestions for an enhanced development experience

    Returns CheckingInMetadata

    Example

    With GPS coordinates:

    const metadata = checkingIn({
    location: 'The Moon',
    position: geoUri({
    lat: 40.6892,
    lng: -74.0444,
    }),
    });

    See geoUri for more details.

    Example

    With a physical address:

    const metadata = checkingIn({
    location: 'The Moon',
    address: {
    streetAddress: '1st Street',
    locality: 'New York',
    region: 'NY',
    postalCode: '10001',
    country: 'US',
    },
    });