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

Remove all additionalProperties constraint #132 #163

Merged
merged 12 commits into from
Oct 15, 2024
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,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 @@ -137,8 +137,7 @@
}
},
"badge": "Platinum",
"title": "isAbout",
"additionalProperties": false
"title": "isAbout"
},
"badge": "Platinum",
"title": "isAbout"
Expand Down Expand Up @@ -182,8 +181,7 @@
}
},
"badge": "Platinum",
"title": "valueReference",
"additionalProperties": false
"title": "valueReference"
},
"badge": "Platinum",
"title": "valueReference"
Expand All @@ -199,7 +197,6 @@
"title": "Unit"
}
},
"additionalProperties": false,
"title": "Field",
"required": ["name", "type"]
},
Expand Down Expand Up @@ -288,20 +285,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 @@ -329,7 +323,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 @@ -107,8 +107,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"
}
}
}
Loading