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)
* [Claim Rewards Data Farming](user-guides/claim-ocean-rewards.md)
* [Liquidity Pools \[deprecated\]](user-guides/remove-liquidity-pools.md)
* [💻 Developers](developers/README.md)
* [👨💻 Developers](developers/README.md)
* [Architecture Overview](developers/architecture.md)
* [Contracts](developers/contracts/README.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
---
classDiagram
class DDO{
+@context
+id
+version
+chainId
+nftAddress
+Metadata
+Credentials
+Service
}
class Metadata{
+created
+updated
+description
+name
+type ["dataset"/"algorithm"]
+author
+license
+tags
+links
+contentLanguage
+categories
+copyrightHolder
+additionalInformation
+AlgorithmMetadata [for "algorithm" type]
classDiagram
class DDO{
+@context
+id
+version
+chainId
+nftAddress
+Metadata
+Credentials
+Service
}
class Credentials{
+allow
+deny
class Metadata{
+created
+updated
+description
+name
+type ["dataset"/"algorithm"]
+author
+license
+tags
+links
+contentLanguage
+categories
+copyrightHolder
+additionalInformation
+AlgorithmMetadata [for "algorithm" type]
}
class AlgorithmMetadata["AlgorithmMetadata (for algorithm)"] {
+language
+version
+ConsumerParameters
+Container
class Credentials{
+allow
+deny
}
class Container{
+entrypoint
+image
+tag
+checksum
}
class Service{
+id
+type ["access"/"compute"]
+files
+name
+description
+datatokenAddress
+serviceEndpoint
class AlgorithmMetadata["AlgorithmMetadata (for algorithm)"] {
+language
+version
+ConsumerParameters
+Container
}
class Container{
+entrypoint
+image
+tag
+checksum
}
class Service{
+id
+type ["access"/"compute"]
+files
+name
+description
+datatokenAddress
+serviceEndpoint
+timeout
+additionalInformation
+ConsumerParameters
+Compute
}
class ConsumerParameters{
+type
+name
+label
+required
+description
+default
+options
}
class Compute{
+publisherTrustedAlgorithms
+publisherTrustedAlgorithmPublishers
+additionalInformation
+ConsumerParameters
+Compute
}
class ConsumerParameters{
+type
+name
+label
+required
+description
+default
+options
}
class Compute{
+publisherTrustedAlgorithms
+publisherTrustedAlgorithmPublishers
}
DDO "1" --> "1" Metadata
DDO "1" --> "1..*" Service
DDO "1" --> "1..n" Service
DDO "1" --> "*" Credentials