Skip to content

Commit

Permalink
Merge pull request #77 from 6543/v2.2/nodeName
Browse files Browse the repository at this point in the history
Add new "instance" object and use it for instance name propagation
  • Loading branch information
jhass authored Dec 10, 2023
2 parents 4150d92 + 104f94f commit 87f6d8d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions schemas/2.2/example.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"version": "2.2",
"instance": {
"name": "New FI𝑓F"
},
"software": {
"name": "diaspora",
"version": "0.5.0",
Expand Down
13 changes: 13 additions & 0 deletions schemas/2.2/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"additionalProperties": false,
"required": [
"version",
"instance",
"software",
"protocols",
"services",
Expand All @@ -21,6 +22,18 @@
"2.2"
]
},
"instance":{
"description": "Metadata specific to the instance. An instance is a the concrete installation of a software running on a server.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "If supported by the software the administrator configured name of this instance",
"type": "string",
"pattern": "^.{0,500}$"
}
}
},
"software": {
"description": "Metadata about server software in use.",
"type": "object",
Expand Down

0 comments on commit 87f6d8d

Please sign in to comment.