WfExS-backend cache metadata

Contents

WfExS-backend cache metadata#

Title: WfExS-backend cache metadata

Type

combining

Required

No

Additional properties

[Any type: allowed]

Description: WfExS-backend cache metadata file (EOSC-Life Demonstrator 7 JSON Schemas)

Property

Pattern

Type

Deprecated

Definition

Title/Description

- stamp

No

string

No

-

When this cache entry was stored

- licences

No

array of string

No

-

-

- metadata_array

No

array of object

No

-

-

One of(Option)

item 0

item 1

1. Property WfExS-backend cache metadata > oneOf > item 0#

Type

object

Required

No

Additional properties

[Any type: allowed]

Property

Pattern

Type

Deprecated

Definition

Title/Description

+ resolves_to

No

Combination

No

-

This metadata cache entry resolves to these

1.1. The following properties are required#

  • metadata_array

1.2. Property WfExS-backend cache metadata > oneOf > item 0 > resolves_to#

Type

combining

Required

Yes

Additional properties

[Any type: allowed]

Description: This metadata cache entry resolves to these

One of(Option)

item 0

item 1

1.2.1. Property WfExS-backend cache metadata > oneOf > item 0 > resolves_to > oneOf > item 0#

Type

string

Required

No

Format

uri

Description: This metadata cache entry resolves to a single URI

Restrictions

Min length

1

1.2.2. Property WfExS-backend cache metadata > oneOf > item 0 > resolves_to > oneOf > item 1#

Type

array of string

Required

No

Description: This metadata cache entry resolves to multiple URIs

Array restrictions

Min items

1

Max items

N/A

Items unicity

False

Additional items

False

Tuple validation

See below

Each item of this array must be

Description

item 1 items

-

1.2.2.1. WfExS-backend cache metadata > oneOf > item 0 > resolves_to > oneOf > item 1 > item 1 items#

Type

string

Required

No

Format

uri

Restrictions

Min length

1

2. Property WfExS-backend cache metadata > oneOf > item 1#

Type

object

Required

No

Additional properties

[Any type: allowed]

Property

Pattern

Type

Deprecated

Definition

Title/Description

+ kind

No

enum (of string)

No

-

Kind of cached content. It could be either a file or a directory

+ fingerprint

No

string

No

-

The fingerprint of the content, which is the name of the hashing algorithm, the ‘~’ separator and the encoded hash in base64

+ path

No

object

No

-

Both the relative and absolute paths to the cached file or directory, using the base directory of the cached metadata as reference

2.1. The following properties are required#

  • metadata_array

2.2. Property WfExS-backend cache metadata > oneOf > item 1 > kind#

Type

enum (of string)

Required

Yes

Description: Kind of cached content. It could be either a file or a directory

Must be one of:

  • “file”

  • “dir”

2.3. Property WfExS-backend cache metadata > oneOf > item 1 > fingerprint#

Type

string

Required

Yes

Format

^[^~]+~[A-Za-z0-9+/]+

Description: The fingerprint of the content, which is the name of the hashing algorithm, the ‘~’ separator and the encoded hash in base64

2.4. Property WfExS-backend cache metadata > oneOf > item 1 > path#

Type

object

Required

Yes

Additional properties

[Any type: allowed]

Description: Both the relative and absolute paths to the cached file or directory, using the base directory of the cached metadata as reference

Property

Pattern

Type

Deprecated

Definition

Title/Description

+ relative

No

string

No

-

-

+ absolute

No

string

No

-

-

2.4.1. Property WfExS-backend cache metadata > oneOf > item 1 > path > relative#

Type

string

Required

Yes

2.4.2. Property WfExS-backend cache metadata > oneOf > item 1 > path > absolute#

Type

string

Required

Yes

3. Property WfExS-backend cache metadata > stamp#

Type

string

Required

No

Format

date-time

Description: When this cache entry was stored

4. Property WfExS-backend cache metadata > licences#

Type

array of string

Required

No

Default

[]

Array restrictions

Min items

N/A

Max items

N/A

Items unicity

False

Additional items

False

Tuple validation

See below

Each item of this array must be

Description

licences items

-

4.1. WfExS-backend cache metadata > licences > licences items#

Type

string

Required

No

Format

uri

Default

"https://choosealicense.com/no-permission/"

5. Property WfExS-backend cache metadata > metadata_array#

Type

array of object

Required

No

Array restrictions

Min items

N/A

Max items

N/A

Items unicity

False

Additional items

False

Tuple validation

See below

Each item of this array must be

Description

metadata_array items

-

5.1. WfExS-backend cache metadata > metadata_array > metadata_array items#

Type

object

Required

No

Additional properties

[Any type: allowed]

Property

Pattern

Type

Deprecated

Definition

Title/Description

+ uri

No

string

No

-

-

+ metadata

No

Combination

No

-

-

- preferredName

No

string or null

No

-

-

5.1.1. Property WfExS-backend cache metadata > metadata_array > metadata_array items > uri#

Type

string

Required

Yes

Format

uri

5.1.2. Property WfExS-backend cache metadata > metadata_array > metadata_array items > metadata#

Type

combining

Required

Yes

Additional properties

[Any type: allowed]

One of(Option)

item 0

item 1

5.1.2.1. Property WfExS-backend cache metadata > metadata_array > metadata_array items > metadata > oneOf > item 0#

Type

array of object

Required

No

Array restrictions

Min items

N/A

Max items

N/A

Items unicity

False

Additional items

False

Tuple validation

See below

Each item of this array must be

Description

item 0 items

-

5.1.2.1.1. WfExS-backend cache metadata > metadata_array > metadata_array items > metadata > oneOf > item 0 > item 0 items#

Type

object

Required

No

Additional properties

[Any type: allowed]

5.1.2.2. Property WfExS-backend cache metadata > metadata_array > metadata_array items > metadata > oneOf > item 1#

Type

object

Required

No

Additional properties

[Any type: allowed]

5.1.3. Property WfExS-backend cache metadata > metadata_array > metadata_array items > preferredName#

Type

string or null

Required

No


Generated using json-schema-for-humans on 2024-12-03 at 23:43:14 +0000