Skip to content

Commit cf9da7f

Browse files
fcv-iteratorItGufCabos2git
authored
Hotfix/enforce name on device model (#210)
* Added missing packages to package lock * Create .licrc for licensebat scan * Deleting licensebat file as it is obsolete * Added name to required properties on DeviceModel --------- Co-authored-by: Nikolaj Gustafsson <[email protected]> Co-authored-by: OS2 primary account <[email protected]>
1 parent fd3cdd8 commit cf9da7f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/resources/device-model-schema.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,11 @@ export const deviceModelSchema = {
134134
description:
135135
"Property. Model:'https://schema.org/Text'. Device's manufacturer name.",
136136
},
137+
name: {
138+
type: "string",
139+
description:
140+
"Property. Model:'https://schema.org/Text'. Device's model name in Portal"
141+
}
137142
},
138143
},
139144
],
@@ -145,5 +150,6 @@ export const deviceModelSchema = {
145150
"manufacturerName",
146151
"brandName",
147152
"modelName",
153+
"name"
148154
],
149155
};

0 commit comments

Comments
 (0)