Skip to content

Commit

Permalink
Enhancement: Update schema.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ergebnis-bot committed Aug 15, 2020
1 parent 353d42d commit c9f0579
Showing 1 changed file with 107 additions and 2 deletions.
109 changes: 107 additions & 2 deletions resource/schema.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$schema": "https://json-schema.org/draft-04/schema#",
"name": "Package",
"type": "object",
"additionalProperties": true,
"required": [],
"properties": {
"name": {
"type": "string",
"description": "Package name, including 'vendor-name/' prefix."
"description": "Package name, including 'vendor-name/' prefix.",
"pattern": "^[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9](([_.]?|-{0,2})[a-z0-9]+)*$"
},
"type": {
"description": "Package type, either 'library' for common packages, 'composer-plugin' for plugins, 'metapackage' for empty packages, or a custom type ([a-z0-9-]+) defined by whatever project this package applies to.",
Expand Down Expand Up @@ -326,6 +327,10 @@
"lock": {
"type": "boolean",
"description": "Defaults to true. If set to false, Composer will not create a composer.lock file."
},
"platform-check": {
"type": "boolean",
"description": "Defaults to true. If set to false, Composer will not create and require a platform_check.php file as part of the autoloader bootstrap."
}
}
},
Expand Down Expand Up @@ -386,6 +391,10 @@
],
"description": "Options for creating package archives for distribution.",
"properties": {
"name": {
"type": "string",
"description": "A base name for archive."
},
"exclude": {
"type": "array",
"description": "A list of patterns for paths to exclude or include if prefixed with an exclamation mark."
Expand Down Expand Up @@ -668,6 +677,12 @@
"type": "string"
}
},
"default-branch": {
"type": [
"boolean"
],
"description": "Internal use only, do not specify this in composer.json. Indicates whether this version is the default branch of the linked VCS repository. Defaults to false."
},
"abandoned": {
"type": [
"boolean",
Expand Down Expand Up @@ -798,6 +813,21 @@
"url": {
"type": "string"
},
"canonical": {
"type": "boolean"
},
"only": {
"type": "array",
"items": {
"type": "string"
}
},
"exclude": {
"type": "array",
"items": {
"type": "string"
}
},
"options": {
"type": "object",
"additionalProperties": true
Expand Down Expand Up @@ -835,6 +865,21 @@
"url": {
"type": "string"
},
"canonical": {
"type": "boolean"
},
"only": {
"type": "array",
"items": {
"type": "string"
}
},
"exclude": {
"type": "array",
"items": {
"type": "string"
}
},
"no-api": {
"type": "boolean"
},
Expand Down Expand Up @@ -898,6 +943,21 @@
"url": {
"type": "string"
},
"canonical": {
"type": "boolean"
},
"only": {
"type": "array",
"items": {
"type": "string"
}
},
"exclude": {
"type": "array",
"items": {
"type": "string"
}
},
"options": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -927,6 +987,21 @@
},
"url": {
"type": "string"
},
"canonical": {
"type": "boolean"
},
"only": {
"type": "array",
"items": {
"type": "string"
}
},
"exclude": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
Expand All @@ -946,6 +1021,21 @@
"url": {
"type": "string"
},
"canonical": {
"type": "boolean"
},
"only": {
"type": "array",
"items": {
"type": "string"
}
},
"exclude": {
"type": "array",
"items": {
"type": "string"
}
},
"vendor-alias": {
"type": "string"
}
Expand All @@ -964,6 +1054,21 @@
"package"
]
},
"canonical": {
"type": "boolean"
},
"only": {
"type": "array",
"items": {
"type": "string"
}
},
"exclude": {
"type": "array",
"items": {
"type": "string"
}
},
"package": {
"oneOf": [
{
Expand Down

0 comments on commit c9f0579

Please sign in to comment.