Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed schema.fieldsMatch #981

Merged
merged 2 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions content/docs/overview/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ This document includes all meaningful changes made to the **Data Package standar

## v2.1

##### `schema.fieldsMatch` (fixed)

[fieldsMatch](/standard/table-schema/#fieldsMatch) has been corrected from array to string to match its definition ([#965](https://github.com/frictionlessdata/datapackage/issues/965)).

## v2.0

This release includes a rich set of specification improvements to make Data Package a finished product (see [announcement](https://frictionlessdata.io/blog/2023/11/15/frictionless-specs-update/)). All changes were reviewed and accepted by the Data Package Working Group.
Expand Down
18 changes: 8 additions & 10 deletions profiles/source/dictionary/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,16 +123,14 @@ tableSchemaField:
- "$ref": "#/definitions/tableSchemaFieldDuration"
- "$ref": "#/definitions/tableSchemaFieldAny"
tableSchemaFieldsMatch:
type: array
item:
type: string
enum:
- exact
- equal
- subset
- superset
- partial
default: exact
type: string
enum:
- exact
- equal
- subset
- superset
- partial
default: exact
tableSchemaPrimaryKey:
oneOf:
- type: array
Expand Down
21 changes: 9 additions & 12 deletions profiles/target/2.1/datapackage.json
Original file line number Diff line number Diff line change
Expand Up @@ -2938,18 +2938,15 @@
]
},
"fieldsMatch": {
"type": "array",
"item": {
"type": "string",
"enum": [
"exact",
"equal",
"subset",
"superset",
"partial"
],
"default": "exact"
}
"type": "string",
"enum": [
"exact",
"equal",
"subset",
"superset",
"partial"
],
"default": "exact"
},
"primaryKey": {
"oneOf": [
Expand Down
21 changes: 9 additions & 12 deletions profiles/target/2.1/dataresource.json
Original file line number Diff line number Diff line change
Expand Up @@ -2702,18 +2702,15 @@
]
},
"fieldsMatch": {
"type": "array",
"item": {
"type": "string",
"enum": [
"exact",
"equal",
"subset",
"superset",
"partial"
],
"default": "exact"
}
"type": "string",
"enum": [
"exact",
"equal",
"subset",
"superset",
"partial"
],
"default": "exact"
},
"primaryKey": {
"oneOf": [
Expand Down
21 changes: 9 additions & 12 deletions profiles/target/2.1/tableschema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2268,18 +2268,15 @@
]
},
"fieldsMatch": {
"type": "array",
"item": {
"type": "string",
"enum": [
"exact",
"equal",
"subset",
"superset",
"partial"
],
"default": "exact"
}
"type": "string",
"enum": [
"exact",
"equal",
"subset",
"superset",
"partial"
],
"default": "exact"
},
"primaryKey": {
"oneOf": [
Expand Down