Skip to content

Commit

Permalink
Fixed schema.fieldsMatch
Browse files Browse the repository at this point in the history
  • Loading branch information
roll committed Sep 24, 2024
1 parent 05839a0 commit e20ac0e
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 46 deletions.
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)

The `schema.fieldsMatch` property definition has been fixed in the Table Schema profile ([#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

0 comments on commit e20ac0e

Please sign in to comment.