def METHOD_NAME() -> dict:
    return {
        "relationshipType": id_schema,
        SchemaOptional("relationshipName"): str,
        SchemaOptional("relationship"): id_schema,
        SchemaOptional("bidirectional"): bool,
        "from": {
            "trackedEntityInstance": get_tracked_entity_instance_schema()
        },
        "to": {
            "trackedEntityInstance": get_tracked_entity_instance_schema()
        },
        SchemaOptional("created"): datetime_schema,
        SchemaOptional("lastUpdated"): datetime_schema,
    }