Skip to content

Commit 70518d6

Browse files
author
Derek Hower
committed
Add missing schema file
1 parent 73c6f03 commit 70518d6

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

lib/arch_obj_models/portfolio.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,11 @@ def uses_optional_types?
178178
@uses_optional_types
179179
end
180180

181-
# @return [ConfiguredArchitecture] A partially-configured architecture definition corresponding to this certificate.
181+
# @return [ConfiguredArchitecture] A partially-configured architecture definition corresponding to this portfolio.
182182
def to_cfg_arch
183183
return @generated_cfg_arch unless @generated_cfg_arch.nil?
184184

185-
# build up a config for the certificate
185+
# build up a config for the portfolio
186186
config_data = {
187187
"$schema" => "config_schema.json",
188188
"type" => "partially configured",
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
4+
"type": "object",
5+
"required": ["$schema", "kind", "name"],
6+
"properties": {
7+
"$schema": {
8+
"type": "string",
9+
"const": "profile_release_schema.json#"
10+
},
11+
"kind": {
12+
"type": "string",
13+
"const": "profile release"
14+
},
15+
"name": {
16+
"type": "string",
17+
"description": "Name (database key) of this Profile Release"
18+
}
19+
}
20+
}

0 commit comments

Comments
 (0)