Skip to content

Commit

Permalink
Merge pull request #163 from OpenEnergyPlatform/feature-132-additiona…
Browse files Browse the repository at this point in the history
…lproperties

Remove all additionalProperties constraint #132
  • Loading branch information
jh-RLI authored Oct 15, 2024
2 parents 22dbc3e + 5a34ae1 commit 00d63b9
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 33 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ Here is a template for new release sections
### Removed

- Remove email from contributors [(#157)](https://github.com/OpenEnergyPlatform/oemetadata/pull/157)
- Remove all additionalProperties is false [(#163)](https://github.com/OpenEnergyPlatform/oemetadata/pull/163)

## [1.6.0] - Release - Introduce badges in json schema - 2023-05-30

Expand Down
3 changes: 1 addition & 2 deletions metadata/v200_draft/build_source/schemas/context.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@
}
},
"badge": "Gold",
"title": "Context",
"additionalProperties": false
"title": "Context"
}
}
}
6 changes: 2 additions & 4 deletions metadata/v200_draft/build_source/schemas/general.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@
}
},
"badge": "Platinum",
"title": "Subject",
"additionalProperties": false
"title": "Subject"
},
"badge": "Platinum",
"title": "Subject"
Expand Down Expand Up @@ -160,8 +159,7 @@
}
},
"badge": "Bronze",
"title": "Embargo Period",
"additionalProperties": false
"title": "Embargo Period"
}
},
"required": ["name"]
Expand Down
3 changes: 1 addition & 2 deletions metadata/v200_draft/build_source/schemas/json_ld.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@
"version",
"used",
"license"
],
"additionalProperties": false
]
}
}
}
3 changes: 1 addition & 2 deletions metadata/v200_draft/build_source/schemas/licences.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@
}
},
"badge": "Bronze",
"title": "Licenses",
"additionalProperties": false
"title": "Licenses"
},
"badge": "Bronze",
"title": "Licenses"
Expand Down
4 changes: 1 addition & 3 deletions metadata/v200_draft/build_source/schemas/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,9 @@
}
},
"badge": null,
"title": "Metadata license",
"additionalProperties": false
"title": "Metadata license"
}
},
"additionalProperties": false,
"title": "Meta Metadata",
"options": {
"hidden": true
Expand Down
3 changes: 1 addition & 2 deletions metadata/v200_draft/build_source/schemas/provenance.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@
}
},
"badge": null,
"title": "Provenance",
"additionalProperties": false
"title": "Provenance"
}
}
}
12 changes: 3 additions & 9 deletions metadata/v200_draft/build_source/schemas/resource.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,7 @@
}
},
"badge": "Platinum",
"title": "isAbout",
"additionalProperties": false
"title": "isAbout"
},
"badge": "Platinum",
"title": "isAbout"
Expand Down Expand Up @@ -203,14 +202,12 @@
}
},
"badge": "Platinum",
"title": "valueReference",
"additionalProperties": false
"title": "valueReference"
},
"badge": "Platinum",
"title": "valueReference"
}
},
"additionalProperties": false,
"title": "Field",
"required": ["name", "type", "nullable"]
},
Expand Down Expand Up @@ -299,20 +296,17 @@
},
"badge": "Iron",
"title": "Reference",
"additionalProperties": false,
"required": ["resource", "fields"]
}
},
"title": "Foreign Key",
"additionalProperties": false,
"required": ["fields"]
},
"badge": "Iron",
"title": "Foreign Keys"
}
},
"title": "Schema",
"additionalProperties": false,
"required": ["primaryKey"]
},
"dialect": {
Expand Down Expand Up @@ -340,7 +334,7 @@
"title": "Decimal separator"
}
},
"additionalProperties": false,
"badge": "Silver",
"title": "Dialect",
"options": {
"hidden": true
Expand Down
1 change: 0 additions & 1 deletion metadata/v200_draft/build_source/schemas/review.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"title": "Badge"
}
},
"additionalProperties": false,
"title": "Review",
"options": {
"hidden": true
Expand Down
3 changes: 1 addition & 2 deletions metadata/v200_draft/build_source/schemas/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@
}
},
"badge": "Bronze",
"title": "Sources",
"additionalProperties": false
"title": "Sources"
},
"badge": "Bronze",
"title": "Sources"
Expand Down
3 changes: 1 addition & 2 deletions metadata/v200_draft/build_source/schemas/spatial.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
}
},
"badge": "Silver",
"title": "Spatial",
"additionalProperties": false
"title": "Spatial"
}
}
}
6 changes: 2 additions & 4 deletions metadata/v200_draft/build_source/schemas/temporal.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,14 @@
}
},
"badge": "Silver",
"title": "Timeseries",
"additionalProperties": false
"title": "Timeseries"
},
"badge": "Silver",
"title": "Timeseries"
}
},
"badge": "Silver",
"title": "Temporal",
"additionalProperties": false
"title": "Temporal"
}
}
}

0 comments on commit 00d63b9

Please sign in to comment.