Skip to content

Commit

Permalink
docs: VSDSPUB-1297: clarify max-jsonld-cache-capacity property
Browse files Browse the repository at this point in the history
  • Loading branch information
Yalz committed Apr 18, 2024
1 parent 1a570c6 commit fac0ac6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions docs/_ldio/ldio-adapters/ldio-json-to-json-ld.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The json-to-ld-adapter receives json messages and adds a linked data context to

## Config

| Property | Description | Required | Default | Example | Supported values |
|:--------------------------|:-------------------------------------------------------------------------------------------------------------|:---------|:--------|:--------------------------|:-------------------------------------------------|
| context | URI of json-ld context Or an JSON-LD context object. | Yes | N/A | http://example.com/my-api | URI or Json Object (containing "@context" entry) |
| max-jsonld-cache-capacity | A cache is used when fetching json-ld contexts. The size of this cache can be configured with this property. | No | 100 | 100 | Integer |
| Property | Description | Required | Default | Example | Supported values |
|:--------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------|:---------|:--------|:--------------------------|:-------------------------------------------------|
| context | URI of json-ld context Or an JSON-LD context object. | Yes | N/A | http://example.com/my-api | URI or Json Object (containing "@context" entry) |
| max-jsonld-cache-capacity | After retrieving an external JSON-LD context, it is cached for reuse. This property allows to specify the size of this cache (number of stored contexts). | No | 100 | 100 | Integer |
7 changes: 3 additions & 4 deletions docs/_ldio/ldio-adapters/ldio-rdf-adapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ This Adapter only supports valid RDF mime types

## Config


| Property | Description | Required | Default | Example | Supported values |
|:--------------------------|:----------------------------------------------------------------------------------------------------------------------|:---------|:--------|:--------|:-----------------|
| max-jsonld-cache-capacity | A cache is used when fetching json-ld contexts. The number of cached contexts can be configured with this property. | No | 100 | 100 | Integer |
| Property | Description | Required | Default | Example | Supported values |
|:--------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------|:---------|:--------|:--------|:-----------------|
| max-jsonld-cache-capacity | After retrieving an external JSON-LD context, it is cached for reuse. This property allows to specify the size of this cache (number of stored contexts). | No | 100 | 100 | Integer |

0 comments on commit fac0ac6

Please sign in to comment.