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 a2560aa
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 a2560aa

Please sign in to comment.