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 17, 2024
1 parent 8a77182 commit 7de2b09
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 46 deletions.
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 7de2b09

Please sign in to comment.