https://cgi-italy.github.io/insula/schemas/v1.1.0/apps/insula-vector-dataset-time-dynamic-data.schema.json
Definition of a vector dataset time dynamic data. Allows to perform time series on one or more attribute, for which the data is stored in an external collection. All numeric properties of the external collection will be considered as time dynamic attributes.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | insula-vector-dataset-time-dynamic-data.schema.json |
object
(Vector dataset time dynamic data)
{
"nameProperty": "idrometer_name",
"dataSources": [
{
"foreignKey": {
"sourceAttribute": "id",
"targetLayer": "idrometer_levels",
"targetAttribute": "idrometer_id"
},
"targetTimeAttribute": "obs_time"
}
]
}
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
dataSources | array |
Required | cannot be null | Vector dataset time dynamic data |
targetDimensionAttributes | array |
Optional | cannot be null | Vector dataset time dynamic data |
The list of tyme dynamic attributes data sources
dataSources
is required
Type: object[]
(Vector time dynamic data source)
cannot be null
defined in: Vector dataset time dynamic data
object[]
(Vector time dynamic data source)
Define the target collection attributes to use as dimensions. Dimensions should be defined in the featureAttributes of the target collections specificied in the dataSources. All data sources should share the same definition.
targetDimensionAttributes
is optional
Type: array
(Target dimension attributes)
cannot be null
defined in: Vector dataset time dynamic data
array
(Target dimension attributes)
Reference this group by using
{"$ref":"https://cgi-italy.github.io/insula/schemas/v1.1.0/apps/insula-vector-dataset-time-dynamic-data.schema.json#/$defs/timeDynamicDataSource"}
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
foreignKey | object |
Required | cannot be null | Vector dataset time dynamic data |
targetTimeAttribute | string |
Required | cannot be null | Vector dataset time dynamic data |
targetAttributes | array |
Optional | cannot be null | Vector dataset time dynamic data |
Define the relation between the source and the target collection. In SQL terms: FOREIGN KEY(sourceAttribute) REFERENCE targetCollection(targetAttribute)
foreignKey
is required
Type: object
(Time dynamic data foreign key)
cannot be null
defined in: Vector dataset time dynamic data
object
(Time dynamic data foreign key)
The target collection attribute to be used as time. Shall be of ‘date’ type
targetTimeAttribute
is required
Type: string
(Target collection time attribute)
cannot be null
defined in: Vector dataset time dynamic data
string
(Target collection time attribute)
targetAttributes
is optional
Type: an array of merged types (Vector feature property)
cannot be null
defined in: Vector dataset time dynamic data
an array of merged types (Vector feature property)
Reference this group by using
{"$ref":"https://cgi-italy.github.io/insula/schemas/v1.1.0/apps/insula-vector-dataset-time-dynamic-data.schema.json#/$defs/timeDynamicDataSourceForeignKey"}
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
sourceAttribute | string |
Required | cannot be null | Vector dataset time dynamic data |
targetLayer | string |
Required | cannot be null | Vector dataset time dynamic data |
targetAttribute | string |
Required | cannot be null | Vector dataset time dynamic data |
The id of the attribute in the source collection to use as foreign key
sourceAttribute
is required
Type: string
(Source property)
cannot be null
defined in: Vector dataset time dynamic data
string
(Source property)
The ID of the collection containing the time dynamic data
targetLayer
is required
Type: string
(Target layer)
cannot be null
defined in: Vector dataset time dynamic data
string
(Target layer)
The ID of the attribute referenced in the target collection
targetAttribute
is required
Type: string
(Target attribute)
cannot be null
defined in: Vector dataset time dynamic data
string
(Target attribute)