-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
73 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,58 @@ | ||
## Description | ||
(description of generic schemas) | ||
These are generic Schemas that can be used for many use cases. | ||
|
||
?> More Schemas will be added as common use cases are identified and implemented. | ||
|
||
### Payment | ||
|
||
Payment is used to describe a payment send from one identity to another. | ||
|
||
##### OP_RETURN | ||
|
||
``` | ||
MAP SET app <appname> type payment context tx tx <txId> | ||
``` | ||
|
||
##### Optional Parameters | ||
|
||
- Context | ||
- ContextValue | ||
- Subcontext | ||
- Subcontext Value | ||
|
||
<!-- | ||
### Image | ||
(schema purpose, id, properties, model, version) | ||
```json | ||
{ | ||
"image": { | ||
"property": "value" | ||
} | ||
"image": { | ||
"property": "value" | ||
} | ||
} | ||
``` | ||
### Handle | ||
(schema purpose, id, properties, model, version) | ||
```json | ||
{ | ||
"handle": { | ||
"property": "value" | ||
} | ||
"handle": { | ||
"property": "value" | ||
} | ||
} | ||
``` | ||
### Profile | ||
(schema purpose, id, properties, model, version) | ||
```json | ||
````json | ||
{ | ||
"profile": { | ||
"property": "value" | ||
} | ||
} | ||
``` | ||
``` --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
## Using Schema | ||
(here's a simple example of using schema) | ||
|
||
## JavaScript Example | ||
|
||
(js example) | ||
|
||
## Go Example | ||
|
||
(go example) | ||
|
||
## Getting help | ||
|
||
[TonicPow](https://tonicpow.com) maintains an [#open-social](https://join.slack.com/t/tonicpow/shared_invite/zt-mlccqx28-IEabvOGPx_QLyFJJbWE3hQ) Slack channel dedicated to supporting on-chain social network development. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
## List of All Schemas | ||
|
||
<!-- - [Generic](generic_schema.md) --> | ||
- [Generic](generic_schema.md) | ||
|
||
- [Social](social_schema.md) | ||
|
||
?> More Schemas will be added as common use cases are identified and implemented. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters