From c324bed4f4c30a1006e66834323549da7a2f364e Mon Sep 17 00:00:00 2001 From: Alex Grin Date: Mon, 24 Sep 2018 14:31:05 -0400 Subject: [PATCH] Update schema.md --- documents/resources/schema.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/documents/resources/schema.md b/documents/resources/schema.md index af38a02..d7c946d 100644 --- a/documents/resources/schema.md +++ b/documents/resources/schema.md @@ -1,8 +1,15 @@ # Schema +The schema defines the structure of the data that is stored in claims in the LBRY blockchain. It has several goals: + +- **Extensibility**. The schema could grow to encompass thousands of fields for dozens of types of content. It should be easy to modify the schema while maintaining backward compatibility. Blockchain data is permanent and cannot be migrated, so any selected data structure will have to be maintained forever. +- **Compactness**. Blockchain space is expensive. Data should be stored as compactly as possible. +- **Cross-language Interop**. These definitions will be used by many projects written in different languages. + + ## [Claim](https://github.com/lbryio/lbryschema/blob/master/lbryschema/proto/claim.proto) -A `Claim` is the toplevel schema for everything that is published to the LBRY blockchain. +A `Claim` is the toplevel schema for everything that is published to the blockchain. ```protobuf message Claim {