| 1 |
$schema: "https://json-schema.org/draft/2020-12/schema" |
| 2 |
$id: "https://schemas.optimade.org/meta/v1.2/common/resource_list" |
| 3 |
title: "resource list" |
| 4 |
description: "A list of dictionaries that describe and reference remote resources." |
| 5 |
type: array |
| 6 |
items: |
| 7 |
patternProperties: |
| 8 |
"^x-(?!optimade-)": {} |
| 9 |
additionalProperties: False |
| 10 |
properties: |
| 11 |
relation: |
| 12 |
description: |- |
| 13 |
A human-readable description of the resource and what is being referenced in the resource, e.g., a "natural language description". |
| 14 |
type: string |
| 15 |
resource-id: |
| 16 |
description: |- |
| 17 |
An IRI of the external resource (which MAY be a resolvable URL). |
| 18 |
type: string |
| 19 |
format: "iri" |
| 20 |
required: |
| 21 |
- relation |
| 22 |
- resource-id |
| 23 |
type: object |