Skip to content
This repository has been archived by the owner on Feb 17, 2025. It is now read-only.

Commit

Permalink
Add a JSON schema for dependencies.json
Browse files Browse the repository at this point in the history
  • Loading branch information
bristermitten committed Aug 7, 2020
1 parent 571be92 commit 9628a93
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions dependencies.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"title": "Root Dependency Configuration",
"properties": {
"repositories": {
"type": "object",
"properties": {
"$ref": {
"type": "string"
}
},
"required": []
},
"dependencies": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"artifactId": {
"type": "string"
},
"version": {
"type": "string"
},
"repository": {
"type": "string"
}
},
"required": [
"groupId",
"artifactId",
"version"
]
}
]
}
}
}

0 comments on commit 9628a93

Please sign in to comment.