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

fix(dates): change dates in yaml to date-time and add id field #45

Merged
merged 1 commit into from
Feb 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/models/layerMetadata/layerMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ export class LayerMetadata {
})
public geometry?: GeoJSON = undefined;

/**
* layer id
*/
public id?: string = undefined;

/**
* layer version
*/
Expand Down
10 changes: 7 additions & 3 deletions src/yaml/layerMetadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ components:
required:
- source
- sourceName
- id
- version
- updateDate
- resolution
Expand All @@ -24,6 +25,9 @@ components:
source:
type: string
description: Layer's unique identifier
id:
type: string
description: Layer's id
version:
type: string
description: layer's version
Expand All @@ -33,7 +37,7 @@ components:
updateDate:
type: string
description: Update date
format: date
format: date-time
resolution:
type: number
description: Resolution of tiff files
Expand Down Expand Up @@ -74,11 +78,11 @@ components:
- properties:
ingestionStartDate:
type: string
format: date
format: date-time
description: Ingestion start time date
ingestionEndDate:
type: string
format: date
format: date-time
description: Ingestion end time date
layerTileLocation:
typr: string
Expand Down