diff --git a/docs/academy/part-2/resource-governance.mdx b/docs/academy/part-2/resource-governance.mdx index 36cc3f245cd..d610cb7d205 100644 --- a/docs/academy/part-2/resource-governance.mdx +++ b/docs/academy/part-2/resource-governance.mdx @@ -50,12 +50,11 @@ npm install -g jsonld-cli ## Step 1: Define the governance of your resource First, you need to define the governance rules of your resource. -The governance content is systematically arranged into a hierarchical text structure comprising sections, subsections, articles, and paragraphs. +The governance content is systematically arranged into a hierarchical text structure comprising sections, articles, and paragraphs. - **chapter**: This term represents a major division in structuring rules, similar to a chapter in a legislative text. It is used to group together articles dealing with related subjects or falling within the same thematic area. -- **article**: The article is the basic unit in the formulation of rules. Each article sets out a specific rule or set of rules and is identified by a unique number or title for ease of reference. - **section**: A section is a subdivision of a chapter. It allows articles to be organized into thematic subgroups, making the structure of the rules more readable and easier to navigate. -- **subSection**: Subsections provide an additional level of detail within sections. They are used to group together articles or paragraphs that address specific aspects or details of a broader issue covered in the section. +- **article**: The article is the basic unit in the formulation of rules. Each article sets out a specific rule or set of rules and is identified by a unique number or title for ease of reference. - **paragraph**: The paragraph is the element that contains the text of the rule itself. This translates into a clause defining a specific condition or rule in Prolog. You can use a template (coming soon) or begin from scratch. @@ -66,16 +65,15 @@ Governance rules of the dataset Crime Data from 2020 to Present: |------------|----------------|------------------------------------------------------| | Chapter | 1 | Crime data dataset governance | | Section | 1.1 | Usage of the dataset | -| Subsection | 1.1.1 | Users | -| Article | 1.1.1.1 | Conditions on consumers | -| Paragraph | 1.1.1.1.1 | Everyone can use the dataset | -| Article | 1.1.1.2 | Conditions on services that consume the dataset | -| Paragraph | 1.1.1.2.1 | Only services of type "Storage" or "Data Processing" | -| Subsection | 1.1.2 | Conditions of usages | -| Article | 1.1.2.1 | Price | -| Paragraph | 1.1.2.1.1 | Free | -| Article | 1.1.2.2 | Rate limiting | -| Paragraph | 1.1.2.2.1 | The rate limit is 2 months maximum | +| Article | 1.1.1 | Conditions on consumers | +| Paragraph | 1.1.1.1 | Everyone can use the dataset | +| Article | 1.1.2 | Conditions on services that consume the dataset | +| Paragraph | 1.1.2.1 | Only services of type "Storage" or "Data Processing" | +| Section | 1.2 | Conditions of usages | +| Article | 1.2.1 | Price | +| Paragraph | 1.2.1.1 | Free | +| Article | 1.2.2 | Rate limiting | +| Paragraph | 1.2.2.1 | The rate limit is 2 months maximum | Governance rules of the service IPFS: @@ -83,12 +81,11 @@ Governance rules of the service IPFS: |-------------|----------------|------------------------------| | Chapter | 1 | IPFS governance | | Section | 1.1 | Usage of the dataset | -| Subsection | 1.1.1 | Users | -| Article | 1.1.1.1 | Conditions on consumers | -| Paragraph | 1.1.1.1.1 | Everyone can use the dataset | -| Subsection | 1.1.2 | Conditions of usages | -| Article | 1.1.2.1 | Price | -| Paragraph | 1.1.2.1.1 | Free | +| Article | 1.1.1 | Conditions on consumers | +| Paragraph | 1.1.1.1 | Everyone can use the dataset | +| Section | 1.2 | Conditions of usages | +| Article | 1.2.1 | Price | +| Paragraph | 1.2.1.1 | Free | :::info The Axone Community will provide more and more templates over time. @@ -117,7 +114,6 @@ These elements are translated into the following Prolog predicates: ```prolog chapter(ChapterId). section(SectionId). -subSection(SubSectionId). article(ArticleId). paragraph(ParagraphId, ...). ``` @@ -130,7 +126,6 @@ For example: % Definition of instances chapter(chap1). section(sec1). -subSection(subSec1). article(art1). paragraph(para1, ...). paragraph(para2, ...). @@ -138,8 +133,7 @@ paragraph(para2, ...). % Definition of relationships partOf(para1, art1). partOf(para2, art1). -partOf(art1, subSec1). -partOf(subSec1, sec1). +partOf(art1, Sec1). partOf(sec1, chap1). ``` @@ -325,7 +319,7 @@ The following code specifies that the Crime Dataset whose DID is ` _:b2 . - . - . - _:b0 . - . - "2024-02-06T13:29:00.475304+01:00"^^ . - . + . + . + _:b0 . + . + "2024-02-06T13:29:00.475304+01:00"^^ . + . _:b1 "2024-04-03T10:45:45.644839+02:00"^^ _:b0 . _:b1 _:b0 . _:b1 "eyJhbGciOiJ1bmtub3duIiwiYjY0IjpmYWxzZSwiY3JpdCI6WyJiNjQiXX0..VJ_c0Hn4N-Wlcdvqk5fHdWPFtUM3bxmPW_qM_9hUOsYxs5ucoB3S3y2837VgXO51Urv84Pv0o5wM0SNng7KPZQ" _:b0 . @@ -499,7 +488,7 @@ The Protocol will check the signature and if the public key corresponds to the p The command returns the hash of the transaction. You can find more details of this transaction in the [Explorer](https://explore.okp4.network/). Select the network (Currently Drunemeton-Testnet), click on the Search icon, and paste the transaction hash. Example: -Hash: D23BF02A1D2FCFB6477F1CF292BE4FE23EC8210032914FF7F59A872C75827EE9 +Hash: 4192587E13FF1A1530B0FFE88A80EACE4954374AE9A2789462E0372CC49E1A47
Axone explorer diff --git a/docs/academy/part-2/zone-governance.mdx b/docs/academy/part-2/zone-governance.mdx index d4e66e41e71..f44a83af322 100644 --- a/docs/academy/part-2/zone-governance.mdx +++ b/docs/academy/part-2/zone-governance.mdx @@ -50,9 +50,8 @@ First, you need to define the governance rules of your zone. The governance content is systematically arranged into a hierarchical text structure comprising sections, sub-sections, articles, and paragraphs. - **chapter**: This term represents a major division in structuring rules, similar to a chapter in a legislative text. It is used to group together articles dealing with related subjects or falling within the same thematic area. -- **article**: The article is the basic unit in the formulation of rules. Each article sets out a specific rule or set of rules and is identified by a unique number or title for ease of reference. - **section**: A section is a subdivision of a chapter. It allows articles to be organized into thematic subgroups, making the structure of the rules more readable and easier to navigate. -- **subSection**: Sub-sections provide an additional level of detail within sections. They are used to group together articles or paragraphs that address specific aspects or details of a broader issue covered in the section. +- **article**: The article is the basic unit in the formulation of rules. Each article sets out a specific rule or set of rules and is identified by a unique number or title for ease of reference. - **paragraph**: The paragraph is the element that contains the text of the rule itself. This translates into a clause defining a specific condition or rule in Prolog. You can use a template (coming soon) or begin from scratch. @@ -95,7 +94,6 @@ These elements are translated into the following Prolog predicates: ```prolog chapter(ChapterId). section(SectionId). -subSection(SubSectionId). article(ArticleId). paragraph(ParagraphId, ...). ``` @@ -108,7 +106,6 @@ For example: % Definition of instances chapter(chap1). section(sec1). -subSection(subSec1). article(art1). paragraph(para1, ...). paragraph(para2, ...). @@ -116,8 +113,7 @@ paragraph(para2, ...). % Definition of relationships partOf(para1, art1). partOf(para2, art1). -partOf(art1, subSec1). -partOf(subSec1, sec1). +partOf(art1, Sec1). partOf(sec1, chap1). ``` @@ -303,8 +299,11 @@ The following code specifies that the Crime Dataset whose DID is ` _:b2 . - . - . - _:b0 . - . - "2024-06-06T15:45:00.475304+01:00"^^ . - . + . + . + _:b0 . + . + "2024-06-06T15:45:00.475304+01:00"^^ . + . _:b1 "2024-04-03T11:34:29.724958+02:00"^^ _:b0 . _:b1 _:b0 . _:b1 "eyJhbGciOiJ1bmtub3duIiwiYjY0IjpmYWxzZSwiY3JpdCI6WyJiNjQiXX0..WHnc8--Jo7GjhuN2HhO1bKE0EkfG8qVyl-M2k34hzmJsH6M4SfwtmocFPagvzFUu6upKM8mvt40Y2Hxz0cMKGg" _:b0 . @@ -478,7 +472,7 @@ The Protocol will check the signature and if the public key corresponds to the p The command returns the hash of the transaction. You can find more details of this transaction in the [Explorer](https://explore.okp4.network/). Select the network (Currently Drunemeton-Testnet), click on the Search icon, and paste the transaction hash. Example: -Hash: 14B30F027884C7D2BE565961489C7DE36ADF5FB388A694D19667AD18380EEA00 +Hash: E6D18D38D5A54BC0C73084A047448216A238C69930908B16F11509E7877E0CF9
Axone explorer diff --git a/static/img/content/academy/transaction-explorer-3.webp b/static/img/content/academy/transaction-explorer-3.webp index 4b17912e2c7..f1405573ccd 100644 Binary files a/static/img/content/academy/transaction-explorer-3.webp and b/static/img/content/academy/transaction-explorer-3.webp differ diff --git a/static/img/content/academy/transaction-explorer-4.webp b/static/img/content/academy/transaction-explorer-4.webp index b1680612c65..00b2ee1ab93 100644 Binary files a/static/img/content/academy/transaction-explorer-4.webp and b/static/img/content/academy/transaction-explorer-4.webp differ