Skip to content

Commit 46b5f5e

Browse files
committed
Fix JSON Schema links
1 parent 0fa7318 commit 46b5f5e

2 files changed

Lines changed: 13 additions & 12 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2222
- For `POST` requests with a `plan` property: Clarify that the default value is `null`.
2323
- `GET /jobs/{job_id}/results`: Clarified the use of the `type` `Feature` in the GeoJSON result response. [#327](https://github.com/Open-EO/openeo-api/issues/327)
2424
- Add missing `{namespace}` placeholder to `ProcessUnsupported` error message. [#328](https://github.com/Open-EO/openeo-api/pull/328)
25+
- Fixed JSON Schema links to point to draft-07 instead of draft/2019-09.
2526

2627
## 1.0.0 - 2020-07-17
2728

openapi.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,8 @@ info:
252252
### Subtypes
253253
254254
JSON Schema allows to specify only a small set of native data types (string, boolean, number, integer, array, object, null).
255-
To support more fine grained data types, a custom [JSON Schema keyword](https://tools.ietf.org/html/draft-handrews-json-schema-01#section-6.4) has been defined: `subtype`.
256-
It works similarly as the JSON Schema keyword [`format`](https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-7) and defines a number of subtypes for the native data types.
255+
To support more fine grained data types, a custom [JSON Schema keyword](https://json-schema.org/draft-07/json-schema-core.html#rfc.section.6.4) has been defined: `subtype`.
256+
It works similarly as the JSON Schema keyword [`format`](https://json-schema.org/draft-07/json-schema-validation.html#rfc.section.7) and defines a number of subtypes for the native data types.
257257
These should be re-used in process schema definitions whenever suitable.
258258
259259
If a general data type such as `string` or `number` is used in a schema, all subtypes with the same parent data type can be passed, too.
@@ -5208,7 +5208,7 @@ components:
52085208
properties:
52095209
description:
52105210
type: string
5211-
description: A brief description of the parameter according to [JSON Schema draft-07](https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.1).
5211+
description: A brief description of the parameter according to [JSON Schema draft-07](https://json-schema.org/draft-07/json-schema-validation.html#rfc.section.10.1).
52125212
required:
52135213
type: boolean
52145214
description: Determines whether this parameter is mandatory.
@@ -5219,7 +5219,7 @@ components:
52195219
of the input as the value of the parameter if none is provided. The
52205220
value MUST conform to the defined type for the parameter defined at
52215221
the same level. For example, if type is string, then default can be
5222-
"foo" but cannot be 1. See [JSON Schema draft-07](https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.2).
5222+
"foo" but cannot be 1. See [JSON Schema draft-07](https://json-schema.org/draft-07/json-schema-validation.html#rfc.section.10.2).
52235223
nullable: true
52245224
allOf:
52255225
- $ref: '#/components/schemas/json_schema'
@@ -5335,7 +5335,7 @@ components:
53355335
properties:
53365336
type:
53375337
description: |-
5338-
The allowed basic data type(s) for a value according to [JSON Schema draft-07](https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.6.1.1).
5338+
The allowed basic data type(s) for a value according to [JSON Schema draft-07](https://json-schema.org/draft-07/json-schema-validation.html#rfc.section.6.1.1).
53395339
53405340
If this property is not present, all data types are allowed.
53415341
oneOf:
@@ -5351,28 +5351,28 @@ components:
53515351
pattern:
53525352
type: "string"
53535353
format: "regex"
5354-
description: The regular expression a string value must match against. See [JSON Schema draft-07](https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.6.3.3).
5354+
description: The regular expression a string value must match against. See [JSON Schema draft-07](https://json-schema.org/draft-07/json-schema-validation.html#rfc.section.6.3.3).
53555355
enum:
53565356
type: array
53575357
items: {}
5358-
description: An exclusive list of allowed values. See [JSON Schema draft-07](https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.6.1.2).
5358+
description: An exclusive list of allowed values. See [JSON Schema draft-07](https://json-schema.org/draft-07/json-schema-validation.html#rfc.section.6.1.2).
53595359
minimum:
53605360
type: number
5361-
description: The minimum value (inclusive) allowed for a numerical value. See [JSON Schema draft-07](https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.6.2.4).
5361+
description: The minimum value (inclusive) allowed for a numerical value. See [JSON Schema draft-07](https://json-schema.org/draft-07/json-schema-validation.html#rfc.section.6.2.4).
53625362
maximum:
53635363
type: number
5364-
description: The maximum value (inclusive) allowed for a numerical value. See [JSON Schema draft-07](https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.6.2.2).
5364+
description: The maximum value (inclusive) allowed for a numerical value. See [JSON Schema draft-07](https://json-schema.org/draft-07/json-schema-validation.html#rfc.section.6.2.2).
53655365
minItems:
53665366
type: number
53675367
minimum: 0
53685368
default: 0
5369-
description: The minimum number of items required in an array. See [JSON Schema draft-07](https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.6.4.2).
5369+
description: The minimum number of items required in an array. See [JSON Schema draft-07](https://json-schema.org/draft-07/json-schema-validation.html#rfc.section.6.4.4).
53705370
maxItems:
53715371
type: number
53725372
minimum: 0
5373-
description: The maximum number of items required in an array. See [JSON Schema draft-07](https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.6.4.1).
5373+
description: The maximum number of items required in an array. See [JSON Schema draft-07](https://json-schema.org/draft-07/json-schema-validation.html#rfc.section.6.4.3).
53745374
items:
5375-
description: Specifies schemas for the items in an array according to [JSON Schema draft-07](https://json-schema.org/draft/2019-09/json-schema-core.html#rfc.section.9.3.1.1).
5375+
description: Specifies schemas for the items in an array according to [JSON Schema draft-07](https://json-schema.org/draft-07/json-schema-validation.html#rfc.section.6.4.1).
53765376
anyOf:
53775377
- type: array
53785378
minItems: 1

0 commit comments

Comments
 (0)