1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

GITBOOK-626: Modified multiplicity in ddo diagrams

This commit is contained in:
mariacarmina.cretu 2023-06-27 17:25:20 +00:00 committed by gitbook-bot
parent e35f57325e
commit 69bb5e9779
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF
9 changed files with 70 additions and 70 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

View File

@ -32,7 +32,7 @@
* [Harvest More Yield Data Farming](user-guides/how-to-data-farm.md) * [Harvest More Yield Data Farming](user-guides/how-to-data-farm.md)
* [Claim Rewards Data Farming](user-guides/claim-ocean-rewards.md) * [Claim Rewards Data Farming](user-guides/claim-ocean-rewards.md)
* [Liquidity Pools \[deprecated\]](user-guides/remove-liquidity-pools.md) * [Liquidity Pools \[deprecated\]](user-guides/remove-liquidity-pools.md)
* [💻 Developers](developers/README.md) * [👨💻 Developers](developers/README.md)
* [Architecture Overview](developers/architecture.md) * [Architecture Overview](developers/architecture.md)
* [Contracts](developers/contracts/README.md) * [Contracts](developers/contracts/README.md)
* [Data NFTs](developers/contracts/data-nfts.md) * [Data NFTs](developers/contracts/data-nfts.md)

View File

@ -500,81 +500,81 @@ Please note that some data structures apply only on certain types of services or
--- ---
title: DDO Detailed Diagram title: DDO Detailed Diagram
--- ---
classDiagram classDiagram
class DDO{ class DDO{
+@context +@context
+id +id
+version +version
+chainId +chainId
+nftAddress +nftAddress
+Metadata +Metadata
+Credentials +Credentials
+Service +Service
}
class Metadata{
+created
+updated
+description
+name
+type ["dataset"/"algorithm"]
+author
+license
+tags
+links
+contentLanguage
+categories
+copyrightHolder
+additionalInformation
+AlgorithmMetadata [for "algorithm" type]
} }
class Credentials{
+allow class Metadata{
+deny +created
+updated
+description
+name
+type ["dataset"/"algorithm"]
+author
+license
+tags
+links
+contentLanguage
+categories
+copyrightHolder
+additionalInformation
+AlgorithmMetadata [for "algorithm" type]
} }
class Credentials{
class AlgorithmMetadata["AlgorithmMetadata (for algorithm)"] { +allow
+language +deny
+version
+ConsumerParameters
+Container
} }
class Container{ class AlgorithmMetadata["AlgorithmMetadata (for algorithm)"] {
+entrypoint +language
+image +version
+tag +ConsumerParameters
+checksum +Container
} }
class Service{
+id class Container{
+type ["access"/"compute"] +entrypoint
+files +image
+name +tag
+description +checksum
+datatokenAddress }
+serviceEndpoint class Service{
+id
+type ["access"/"compute"]
+files
+name
+description
+datatokenAddress
+serviceEndpoint
+timeout +timeout
+additionalInformation +additionalInformation
+ConsumerParameters +ConsumerParameters
+Compute +Compute
} }
class ConsumerParameters{ class ConsumerParameters{
+type +type
+name +name
+label +label
+required +required
+description +description
+default +default
+options +options
} }
class Compute{ class Compute{
+publisherTrustedAlgorithms +publisherTrustedAlgorithms
+publisherTrustedAlgorithmPublishers +publisherTrustedAlgorithmPublishers
} }
DDO "1" --> "1" Metadata DDO "1" --> "1" Metadata
DDO "1" --> "1..*" Service DDO "1" --> "1..n" Service
DDO "1" --> "*" Credentials DDO "1" --> "*" Credentials