Skip to content

Commit

Permalink
Merge pull request #912 from ergebnis/feature/schema
Browse files Browse the repository at this point in the history
Enhancement: Update `schema.json`
  • Loading branch information
localheinz committed Mar 30, 2022
2 parents 67b8cfa + 886d36b commit ba0debc
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 42 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

For a full diff see [`2.24.1...main`][2.24.1...main].

### Changed

- Updated `schema.json` ([#912]), by [@ergebnis-bot]

## [`2.24.1`][2.24.1]

For a full diff see [`2.24.0...2.24.1`][2.24.0...2.24.1].
Expand Down Expand Up @@ -869,6 +873,7 @@ For a full diff see [`81bc3a8...0.1.0`][81bc3a8...0.1.0].
[#899]: https://github.com/ergebnis/composer-normalize/pull/899
[#904]: https://github.com/ergebnis/composer-normalize/pull/904
[#905]: https://github.com/ergebnis/composer-normalize/pull/905
[#912]: https://github.com/ergebnis/composer-normalize/pull/912

[@core23]: https://github.com/core23
[@dependabot]: https://github.com/dependabot
Expand Down
96 changes: 54 additions & 42 deletions resource/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,12 @@
}
}
},
"source": {
"$ref": "#/definitions/source"
},
"dist": {
"$ref": "#/definitions/dist"
},
"_comment": {
"type": [
"array",
Expand Down Expand Up @@ -1264,53 +1270,59 @@
}
},
"source": {
"type": "object",
"required": [
"type",
"url",
"reference"
],
"properties": {
"type": {
"type": "string"
},
"url": {
"type": "string"
},
"reference": {
"type": "string"
},
"mirrors": {
"type": "array"
}
}
"$ref": "#/definitions/source"
},
"dist": {
"type": "object",
"required": [
"type",
"url"
],
"properties": {
"type": {
"type": "string"
},
"url": {
"type": "string"
},
"reference": {
"type": "string"
},
"shasum": {
"type": "string"
},
"mirrors": {
"type": "array"
}
}
"$ref": "#/definitions/dist"
}
},
"additionalProperties": true
},
"source": {
"type": "object",
"required": [
"type",
"url",
"reference"
],
"properties": {
"type": {
"type": "string"
},
"url": {
"type": "string"
},
"reference": {
"type": "string"
},
"mirrors": {
"type": "array"
}
}
},
"dist": {
"type": "object",
"required": [
"type",
"url"
],
"properties": {
"type": {
"type": "string"
},
"url": {
"type": "string"
},
"reference": {
"type": "string"
},
"shasum": {
"type": "string"
},
"mirrors": {
"type": "array"
}
}
}
},
"additionalProperties": true,
Expand Down

0 comments on commit ba0debc

Please sign in to comment.