Skip to content

Commit

Permalink
Merge pull request #63 from 52North/fix/missing-schemaversion
Browse files Browse the repository at this point in the history
add $schema to commandStatusCode.json
  • Loading branch information
autermann authored Dec 11, 2024
2 parents 271b167 + 4caf66d commit 01b2f0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/part2/openapi/schemas/json/commandStatusCode.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "string",
"oneOf": [
{ "const": "PENDING", "description": "The command is pending, meaning it has been received by the system but no decision to accept or reject it has been taken." },
Expand All @@ -11,4 +12,4 @@
{ "const": "FAILED", "description": "The command has failed during execution. The `message` property provides the reason for failure. This is a final state. No further status updates will be sent." },
{ "const": "COMPLETED", "description": "The command has completed after a successful execution. The actual execution time must be provided using the `executionTime` property. This is a final state. No further status updates will be sent." }
]
}
}

0 comments on commit 01b2f0b

Please sign in to comment.