# Integration Guide

## JSON Schemas

Using the Backed.by platform is not necessary for making changes to your profile/project.  Except for platform specific functions that are web2 in nature, you can make changes to your profile, create and edit tiers, and create and edit posts all using web3 tools.

The Backed.by platform uses the following JSON schemas for the documents uploaded to IPFS.

### Profile

```json
{
  "name": "Project/Profile Name",
  "description": "A catchy description of what this project is about.",
  "profileImage": "data:image/jpeg;base64,Base64 encoded image",
  "coverImage": "data:image/jpeg;base64,Base64 encoded image",
  "createdAt": Milliseconds since 1/1/1970 00:00:00
}
```

### Tier

<pre class="language-json"><code class="lang-json">{
  "id": BBProfile ID,
  "name": "Tier Name",
  "price": "Price in USD cents.  $1 = 100",
  "description": "Description of what supporter gets at this tier.",
  "coverImage": "data:image/jpeg;base64,Base64 encoded image",,
  "disabled": <a data-footnote-ref href="#user-content-fn-1">fals</a>e
}
</code></pre>

### Post (Public/Unencrypted)

```json
{
  "content": {
    "creatorProfileId": BBProfile ID,
    "postId": BBPost ID,
    "text": "Main body of the post.  May contain HTML.",
    "attachments": [],
    "externalAttachments": []
  },
  "metadata": {
    "creatorAddress": BBProfile owner address,
    "creatorProfileId": BBProfile ID,
    "title": "Title of post",
    "createdAt": Milliseconds since 1/1/1970 00:00:00,
    "free": true
  }
}

```

### Post (Encrypted)

```json
{
  "content": {
    "encryptedContent": "data:application/octet-stream;base64,ENCRYPTED CONTENT",
    "litKey": LIT KEY
  },
  "metadata": {
    "creatorAddress": BBProfile owner address,
    "creatorProfileId": 4,
    "title": "Title of post",
    "createdAt": 1672972631738,
    "multipost": [],
    "free": false,
    "tierSetId": BBTiers TierSetID,
    "tierWhiteList": Array of Tier IDs this post can be seen by
  }
}
```

[^1]:


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.backed.by/docs/developers/integration-guide.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
