Skip to main content
Version: 1.0.0

TermsAndCondition

Purpose​

The TermsAndCondition collection contains the terms and conditions of use for the services offered by ARShades, translated into different languages. Its purpose is to store terms and conditions information, that will be displayed in ARShades applications.

Document schema​

{
"termini_e_condizioni": [
{
"paragrafo": "string",
"titolo": "string"
}
],
"termini_e_condizioni_de": [
{
"paragrafo": "string",
"titolo": "string"
}
],
"termini_e_condizioni_es": [
{
"paragrafo": "string",
"titolo": "string"
}
],
"termini_e_condizioni_fr": [
{
"paragrafo": "string",
"titolo": "string"
}
],
"termini_e_condizioni_it": [
{
"paragrafo": "string",
"titolo": "string"
}
]
}

Indexes​

This collection does not have external indexes.

Query examples​

// Fetch the Reference Doc from Firebase
const termsAndCondRef = doc(db, "TermsAndCondition", termsAndCondId);

// Get the Document Snapshot from the Reference Doc
const termsAndCondSnap = await getDoc(termsAndCondRef);