# Bitcoin Schema

Bitcoin Schema is a set of pre-defined data schemas that form overlay networks on Bitcoin. Bitcoin Schema uses a combination of data protocols to form the building blocks of new networks, such as "BSocial" - an open, interoperable social media network.

For example, you can create an Ordinal that is also a BSocial post, make a comment with B protocol, and use MAP to assign the "post" type to the transaction. The pseudoscript would look like this:

```bash
1SAT_P2PKH INSCRIPTION OP_RETURN B_POST_TEXT "|" MAP SET app <appName> type "post"
```

When broadcasted, apps that support BSocial will see the post and display the commend and inscription.

### More Information

To learn more about using common metadata structures, and how to use them to create interoperable Bitcoin apps, check out [BitcoinSchema.org](https://bitcoinschema.org).


---

# 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.1satordinals.com/adding-metadata/bitcoin-schema.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.
