@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 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
- - 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
- - dataset-access-control.schema.json
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
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 information of a dataset",
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": {
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/schema#",
3
- "title": "Aspect capturing a complete representation of a dataset according to CKAN",
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": "Aspect capturing a complete representation of a resource according to CKAN",
3
+ "title": "CKAN Resource Aspect",
4
+ "description": "Aspect capturing a complete representation of a resource according to CKAN",
4
5
  "type": "object"
5
6
  }
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/schema#",
3
- "title": "Aspect capturing a underlyig spreadsheet row extracted from input spreadsheet.",
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": {
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/schema#",
3
- "title": "Aspect capturing a complete representation of a dataset according to a CSW server",
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": "Aspect capturing a complete representation of a distribution according to a CSW server",
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": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/hyper-schema#",
3
- "title": "Currency",
3
+ "title": "Currency Aspect",
4
4
  "description": "Describes how up-to-date the dataset is",
5
5
  "type": "object",
6
6
  "properties": {
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/schema#",
3
- "title": "Aspect capturing a complete representation of a dataset according to DAP",
3
+ "title": "DAP Dataset Aspect",
4
+ "description": "Aspect capturing a complete representation of a dataset according to DAP",
4
5
  "type": "object"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/schema#",
3
- "title": "Aspect capturing a complete representation of a resource according to DAP",
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,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/hyper-schema#",
3
- "title": "The distributions of a dataset",
3
+ "title": "Dataset Distributions Aspect",
4
4
  "description": "Specifies the list of distributions of a dataset.",
5
5
  "type": "object",
6
6
  "properties": {
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/schema#",
3
- "title": "Aspect containing the format of a distribution, and the probability that it's correct",
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": "Aspect describing the linked data quality of the dataset out of 5 stars as per https://www.w3.org/DesignIssues/LinkedData.html",
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,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/hyper-schema#",
3
- "title": "Dataset publisher",
3
+ "title": "Dataset Publisher Aspect",
4
4
  "description": "Links to the publisher of a dataset.",
5
5
  "type": "object",
6
6
  "properties": {
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/schema#",
3
- "title": "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.",
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": "DCAT Dataset properties as strings",
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": "DCAT Distribution properties as strings",
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": "Metadata about information security",
3
+ "title": "Information Security Aspect",
4
+ "description": "Metadata about information security",
4
5
  "type": "object",
5
6
  "properties": {
6
7
  "classification": {
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/schema#",
3
- "title": "Aspect for capturing basic details of an organization",
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,6 @@
1
1
  {
2
2
  "name": "@magda/registry-aspects",
3
- "version": "1.2.1-alpha.0",
3
+ "version": "2.0.0-alpha.0",
4
4
  "description": "Common aspects for use with the registry.",
5
5
  "scripts": {
6
6
  "build": "echo \"ok\"",
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/schema#",
3
- "title": "Aspect capturing a complete representation of a dataset according to Project Open Data (data.json).",
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": "Aspect capturing a complete representation of a distribution according to Project Open Data (data.json).",
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
  {
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/hyper-schema#",
3
- "title": "Aspect for capturing the basic details of a project",
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": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/hyper-schema#",
3
- "title": "Provenance",
3
+ "title": "Provenance Aspect",
4
4
  "description": "Describes how this data was collected or generated.",
5
5
  "type": "object",
6
6
  "properties": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2019-09/hyper-schema#",
3
- "title": "The publishing state of a dataset",
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": "Aspect describing source link status of a distribution (active or broken)",
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": {
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/schema#",
3
- "title": "Aspect for capturing the source of a record",
3
+ "title": "Source Aspect",
4
+ "description": "Aspect for capturing the source of a record",
4
5
  "type": "object",
5
6
  "properties": {
6
7
  "id": {
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/schema#",
3
- "title": "Spatial extent defined (will try to confom as much to) in geojson.",
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": "The temporal period that the dataset covers",
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": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/schema#",
3
- "title": "dataset / distribution version",
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": "Aspect providing information to make front-end visualisations of distributions better",
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": {