@magda/registry-aspects 1.2.1-alpha.0 → 2.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -26
- package/{dataset-access-control.schema.json → access-control.schema.json} +2 -2
- package/ckan-dataset.schema.json +2 -1
- package/ckan-resource.schema.json +2 -1
- package/csv-dataset.schema.json +2 -1
- package/csw-dataset.schema.json +2 -1
- package/csw-distribution.schema.json +2 -1
- package/currency.schema.json +1 -1
- package/dap-dataset.schema.json +2 -1
- package/dap-resource.schema.json +2 -1
- package/dataset-distributions.schema.json +1 -1
- package/dataset-format.schema.json +2 -1
- package/dataset-linked-data-rating.schema.json +2 -1
- package/dataset-publisher.schema.json +1 -1
- package/dataset-quality-rating.schema.json +2 -1
- package/dcat-dataset-strings.schema.json +1 -1
- package/dcat-distribution-strings.schema.json +1 -1
- package/information-security.schema.json +2 -1
- package/organization-details.schema.json +2 -1
- package/package.json +1 -1
- package/project-open-data-dataset.schema.json +2 -1
- package/project-open-data-distribution.schema.json +2 -1
- package/project.schema.json +2 -1
- package/provenance.schema.json +1 -1
- package/publishing.schema.json +1 -1
- package/source-link-status.schema.json +2 -1
- package/source.schema.json +2 -1
- package/spatial-coverage.schema.json +2 -1
- package/temporal-coverage.schema.json +1 -1
- package/version.schema.json +1 -1
- package/visualization-info.schema.json +2 -1
package/README.md
CHANGED
|
@@ -2,29 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
This package includes all built-in [Magda](https://github.com/magda-io/magda) registry Aspects Json Schemas:
|
|
4
4
|
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
5
|
+
- access.schema.json
|
|
6
|
+
- ckan-dataset.schema.json
|
|
7
|
+
- ckan-resource.schema.json
|
|
8
|
+
- csv-dataset.schema.json
|
|
9
|
+
- information-security.schema.json
|
|
10
|
+
- csw-dataset.schema.json
|
|
11
|
+
- organization-details.schema.json
|
|
12
|
+
- csw-distribution.schema.json
|
|
13
|
+
- currency.schema.json
|
|
14
|
+
- project-open-data-dataset.schema.json
|
|
15
|
+
- dap-dataset.schema.json
|
|
16
|
+
- project-open-data-distribution.schema.json
|
|
17
|
+
- dap-resource.schema.json
|
|
18
|
+
- project.schema.json
|
|
19
|
+
- access-control.schema.json (previously `dataset-access-control` aspect)
|
|
20
|
+
- provenance.schema.json
|
|
21
|
+
- dataset-distributions.schema.json
|
|
22
|
+
- publishing.schema.json
|
|
23
|
+
- dataset-format.schema.json
|
|
24
|
+
- source-link-status.schema.json
|
|
25
|
+
- dataset-linked-data-rating.schema.json
|
|
26
|
+
- source.schema.json
|
|
27
|
+
- dataset-publisher.schema.json
|
|
28
|
+
- spatial-coverage.schema.json
|
|
29
|
+
- dataset-quality-rating.schema.json
|
|
30
|
+
- temporal-coverage.schema.json
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/hyper-schema#",
|
|
3
|
-
"title": "Access Control
|
|
4
|
-
"description": "Access Control information of a dataset. Including: ownership information and pre-authorised permissions",
|
|
3
|
+
"title": "Access Control Aspect",
|
|
4
|
+
"description": "Access Control information of a dataset or other registry records. Including: ownership information and pre-authorised permissions. Previously named `dataset-access-control` for legacy reasons, this aspect can actually be used for any registry records.",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"ownerId": {
|
package/ckan-dataset.schema.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"title": "
|
|
3
|
+
"title": "CKAN Dataset Aspect",
|
|
4
|
+
"description": "Aspect capturing a complete representation of a dataset according to CKAN",
|
|
4
5
|
"type": "object"
|
|
5
6
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"title": "
|
|
3
|
+
"title": "CKAN Resource Aspect",
|
|
4
|
+
"description": "Aspect capturing a complete representation of a resource according to CKAN",
|
|
4
5
|
"type": "object"
|
|
5
6
|
}
|
package/csv-dataset.schema.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"title": "
|
|
3
|
+
"title": "CSV Dataset Aspect",
|
|
4
|
+
"description": "Aspect capturing a underlyig spreadsheet row extracted from input spreadsheet.",
|
|
4
5
|
"type": "object",
|
|
5
6
|
"properties": {
|
|
6
7
|
"json": {
|
package/csw-dataset.schema.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"title": "
|
|
3
|
+
"title": "CSW Dataset Aspect",
|
|
4
|
+
"description": "Aspect capturing a complete representation of a dataset according to a CSW server",
|
|
4
5
|
"type": "object",
|
|
5
6
|
"properties": {
|
|
6
7
|
"xml": {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"title": "
|
|
3
|
+
"title": "CSW Distribution Aspect",
|
|
4
|
+
"description": "Aspect capturing a complete representation of a distribution according to a CSW server",
|
|
4
5
|
"type": "object",
|
|
5
6
|
"properties": {
|
|
6
7
|
"xml": {
|
package/currency.schema.json
CHANGED
package/dap-dataset.schema.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"title": "
|
|
3
|
+
"title": "DAP Dataset Aspect",
|
|
4
|
+
"description": "Aspect capturing a complete representation of a dataset according to DAP",
|
|
4
5
|
"type": "object"
|
|
5
6
|
}
|
package/dap-resource.schema.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"title": "
|
|
3
|
+
"title": "DAP Resource Aspect",
|
|
4
|
+
"description": "Aspect capturing a complete representation of a resource according to DAP",
|
|
4
5
|
"type": "object"
|
|
5
6
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"title": "
|
|
3
|
+
"title": "Dataset Format Aspect",
|
|
4
|
+
"description": "Aspect containing the format of a distribution, and the probability that it's correct",
|
|
4
5
|
"type": "object",
|
|
5
6
|
"properties": {
|
|
6
7
|
"format": {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"title": "
|
|
3
|
+
"title": "Dataset Linked Data Rating Aspect",
|
|
4
|
+
"description": "Aspect describing the linked data quality of the dataset out of 5 stars as per https://www.w3.org/DesignIssues/LinkedData.html",
|
|
4
5
|
"type": "object",
|
|
5
6
|
"properties": {
|
|
6
7
|
"stars": {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"title": "
|
|
3
|
+
"title": "Dataset Quality Aspect",
|
|
4
|
+
"description": "Aspect describing the quality rating of a dataset as determined by a number of different minions out of 100, along with the weight that they carry.",
|
|
4
5
|
"type": "object",
|
|
5
6
|
"properties": {
|
|
6
7
|
"additionalProperties": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"title": "
|
|
3
|
+
"title": "Dataset DCAT Properties Aspect",
|
|
4
4
|
"description": "The [DCAT Dataset](https://www.w3.org/TR/vocab-dcat/#class-dataset) properties represented as strings. This aspect is intended to be quite permissive of arbitrary property values, even those that may be difficult or impossible to interpret.",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"title": "
|
|
3
|
+
"title": "Distribution DCAT Properties Aspect",
|
|
4
4
|
"description": "The [DCAT Distribution](https://www.w3.org/TR/vocab-dcat/#class-distribution) properties represented as strings. This aspect is intended to be quite permissive of arbitrary property values, even those that may be difficult or impossible to interpret.",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"title": "
|
|
3
|
+
"title": "Organization Details Aspect",
|
|
4
|
+
"description": "Aspect for capturing basic details of an organization",
|
|
4
5
|
"type": "object",
|
|
5
6
|
"properties": {
|
|
6
7
|
"name": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"title": "
|
|
3
|
+
"title": "Project Open Data Dataset Aspect",
|
|
4
|
+
"description": "Aspect capturing a complete representation of a dataset according to Project Open Data (data.json).",
|
|
4
5
|
"type": "object",
|
|
5
6
|
"allOf": [
|
|
6
7
|
{
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"title": "
|
|
3
|
+
"title": "Project Open Data Distribution Aspect",
|
|
4
|
+
"description": "Aspect capturing a complete representation of a distribution according to Project Open Data (data.json).",
|
|
4
5
|
"type": "object",
|
|
5
6
|
"allOf": [
|
|
6
7
|
{
|
package/project.schema.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/hyper-schema#",
|
|
3
|
-
"title": "
|
|
3
|
+
"title": "Project Information Aspect",
|
|
4
|
+
"description": "Aspect for capturing the basic details of a project",
|
|
4
5
|
"type": "object",
|
|
5
6
|
"properties": {
|
|
6
7
|
"description": {
|
package/provenance.schema.json
CHANGED
package/publishing.schema.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema#",
|
|
3
|
-
"title": "
|
|
3
|
+
"title": "Dataset Publishing State Aspect",
|
|
4
4
|
"description": "Specifies the state and other metadata associated with publication of data within MAGDA system.",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"title": "
|
|
3
|
+
"title": "Source Link Status Aspect",
|
|
4
|
+
"description": "Aspect describing source link status of a distribution (active or broken)",
|
|
4
5
|
"type": "object",
|
|
5
6
|
"properties": {
|
|
6
7
|
"status": {
|
package/source.schema.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"title": "Spatial
|
|
3
|
+
"title": "Spatial Coverage Aspect",
|
|
4
|
+
"description": "Spatial extent defined (will try to confom as much to) in geojson.",
|
|
4
5
|
"type": "object",
|
|
5
6
|
"properties": {
|
|
6
7
|
"bbox": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"title": "
|
|
3
|
+
"title": "Dataset Temporal Period Aspect",
|
|
4
4
|
"description": "Specifies the temporal period that the dataset covers as a list of time intervals.",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
package/version.schema.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"title": "
|
|
3
|
+
"title": "Record Version Aspect",
|
|
4
4
|
"description": "Provides version information of a dataset or distribution record. Verison should be bumped up when key event (e.g. current distribution is replaced by an new one or other key milestone) happens.",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"title": "
|
|
3
|
+
"title": "Visualiztion Information Aspect",
|
|
4
|
+
"description": "Aspect providing information to make front-end visualisations of distributions better",
|
|
4
5
|
"type": "object",
|
|
5
6
|
"properties": {
|
|
6
7
|
"format": {
|