Skip to content

Commit aa9371a

Browse files
committed
consolidate data models into single one
Combine all the individual data models into a unified data model for the whole Margo specification. Signed-off-by: Silvano Cirujano Cuesta <silvano.cirujano-cuesta@siemens.com>
1 parent 6453213 commit aa9371a

26 files changed

+22
-6
lines changed

data-models/application-deployment.linkml.yaml renamed to data-model/application-deployment.linkml.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ classes:
3333
description: >-
3434
Metadata element specifying characteristics about the application deployment.
3535
See the [Metadata Attributes](#metadata-attributes) section below.
36-
range: Metadata
36+
range: DeploymentMetadata
3737
required: true
3838
spec:
3939
description: >-
@@ -42,7 +42,7 @@ classes:
4242
range: Spec
4343
required: true
4444

45-
Metadata:
45+
DeploymentMetadata:
4646
description: Metadata associated with the desired state.
4747
attributes:
4848
annotations:

data-models/application-description.linkml.yaml renamed to data-model/application-description.linkml.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ classes:
3636
description: >-
3737
Metadata element specifying characteristics about the application deployment.
3838
See the [Metadata Attributes](#metadata-attributes) section below.
39-
range: Metadata
39+
range: ApplicationMetadata
4040
required: true
4141
deploymentProfiles:
4242
description: >-
@@ -62,7 +62,7 @@ classes:
6262
See the [Configuration](#configuration-attributes) section below.
6363
range: Configuration
6464

65-
Metadata:
65+
ApplicationMetadata:
6666
description: Metadata about the application.
6767
attributes:
6868
id:
@@ -99,7 +99,7 @@ classes:
9999
description: >-
100100
Application element specifying the application specific metadata.
101101
See the [Application Metadata](#applicationmetadata-attributes) section below.
102-
range: ApplicationMetadata
102+
range: CatalogApplicationMetadata
103103
author:
104104
description: >-
105105
Author element specifying metadata about the application's author.
@@ -118,7 +118,7 @@ classes:
118118
inlined: true
119119
inlined_as_list: true
120120

121-
ApplicationMetadata:
121+
CatalogApplicationMetadata:
122122
description: Metadata specific to the application.
123123
attributes:
124124
descriptionFile:
File renamed without changes.
File renamed without changes.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# yaml-language-server: $schema=https://linkml.io/linkml-model/linkml_model/jsonschema/meta.schema.json
2+
id: https://specification.margo.org/data-model
3+
name: DataModel
4+
title: Margo Data Model
5+
description: >-
6+
Complete Margo data model.
7+
version: 1.0
8+
prefixes:
9+
margo: https://specification.margo.org/
10+
imports:
11+
- application-deployment.linkml
12+
- application-description.linkml
13+
- desired-state-manifest.linkml
14+
- device-capabilities.linkml
15+
16+
default_prefix: margo
File renamed without changes.

data-models/resources/diagrams/application-deployment.png renamed to data-model/resources/diagrams/application-deployment.png

File renamed without changes.

data-models/resources/diagrams/application-description.png renamed to data-model/resources/diagrams/application-description.png

File renamed without changes.

0 commit comments

Comments
 (0)