You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by da...@apache.org on 2018/11/22 09:35:55 UTC
[sling-org-apache-sling-feature] branch master updated: Removing
feature schema as this is now in the feature-io module.
This is an automated email from the ASF dual-hosted git repository.
davidb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature.git
The following commit(s) were added to refs/heads/master by this push:
new cba4f14 Removing feature schema as this is now in the feature-io module.
cba4f14 is described below
commit cba4f14b77601108e74a89b2ffa1817bc8bcf487
Author: David Bosschaert <bo...@adobe.com>
AuthorDate: Thu Nov 22 09:35:32 2018 +0000
Removing feature schema as this is now in the feature-io module.
---
schema/Feature-1.0.0.schema.json | 220 ---------------------------------------
1 file changed, 220 deletions(-)
diff --git a/schema/Feature-1.0.0.schema.json b/schema/Feature-1.0.0.schema.json
deleted file mode 100644
index 0bc0c36..0000000
--- a/schema/Feature-1.0.0.schema.json
+++ /dev/null
@@ -1,220 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-07/schema#",
- "$id": "http://sling.apache.org/Feature/1.0.0",
- "type": "object",
- "properties": {
- "model-version": {
- "type": "string"
- },
- "id": {
- "type": "string",
- "pattern": "^(([^: ]+):([^: ]+)(:([^: ]*)(:([^: ]+))?)?:([^: ]+)|([^/ ]+)/([^/ ]+)(/([^/ ]+))?(/([^/ ]*)(/([^/ ]+))?)?)$"
- },
- "title": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "vendor": {
- "type": "string"
- },
- "license": {
- "type": "string"
- },
- "variables": {
- "type": "object",
- "patternProperties": {
- "^(.+)$": {
- "type": "string"
- }
- }
- },
- "bundles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Bundle"
- }
- },
- "framework-properties": {
- "type": "object",
- "patternProperties": {
- "^(.+)$": {
- "type": [ "string", "number", "boolean" ]
- }
- }
- },
- "configurations": {
- "type": "object",
- "patternProperties": {
- "^(.+)$": {
- "$ref": "#/definitions/Configuration"
- }
- }
- },
- "include": {
- "$ref": "#/definitions/Include"
- },
- "requirements": {
- " type": "array",
- "items": {
- "$ref": "#/definitions/Requirement"
- }
- },
- "capabilities": {
- " type": "array",
- "items": {
- "$ref": "#/definitions/Capability"
- }
- }
- },
- "patternProperties": {
- "^[^:]+:ARTIFACTS\\|(true|false)$": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Bundle"
- }
- },
- "^[^:]+:TEXT\\|(true|false)$": {
- "type": [ "string", "array" ],
- "items": {
- "type": "string"
- }
- },
- "^[^:]+:JSON\\|(true|false)$": {
- "type": [
- "object",
- "array"
- ]
- }
- },
- "definitions": {
- "Bundle": {
- "$id": "#Bundle",
- "type": [
- "string",
- "object"
- ],
- "properties": {
- "id": {
- "type": "string",
- "pattern": "^(([^: ]+):([^: ]+)(:([^: ]*)(:([^: ]+))?)?:([^: ]+)|(mvn:)?([^/ ]+)/([^/ ]+)(/([^/ ]+))?(/([^/ ]*)(/([^/ ]+))?)?)$"
- },
- "start-level": {
- "type": [ "string", "number" ],
- "pattern": "^\\d+$"
- },
- "run-modes": {
- "type": [
- "string",
- "array"
- ],
- "items": {
- "type": "string"
- }
- },
- "configurations": {
- "type": "object",
- "patternProperties": {
- "^(.+)$": {
- "$ref": "#/definitions/Configuration"
- }
- }
- }
- }
- },
- "Configuration": {
- "$id": "#Configuration",
- "patternProperties": {
- "^(.+)$": {
- "type": [
- "string",
- "number",
- "boolean",
- "array",
- "object"
- ]
- }
- }
- },
- "Include": {
- "$id": "#Include",
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "pattern": "^(([^: ]+):([^: ]+)(:([^: ]*)(:([^: ]+))?)?:([^: ]+)|(mvn:)?([^/ ]+)/([^/ ]+)(/([^/ ]+))?(/([^/ ]*)(/([^/ ]+))?)?)$"
- },
- "removals": {
- "$ref": "#/definitions/Removals"
- }
- }
- },
- "Removals": {
- "$id": "#Removals",
- "type": "object",
- "properties": {
- "configurations": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "bundles": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "framework-properties": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- },
- "Requirement": {
- "$id": "#Requirement",
- "type": "object",
- "properties": {
- "namespace": {
- "type": "string"
- },
- "directives": {
- "type": "object",
- "patternProperties": {
- "^(.+)$": {
- "type": "string"
- }
- }
- }
- }
- },
- "Capability": {
- "$id": "#Capability",
- "type": "object",
- "properties": {
- "namespace": {
- "type": "string"
- },
- "directives": {
- "type": "object",
- "patternProperties": {
- "^(.+)$": {
- "type": "string"
- }
- }
- },
- "attributes": {
- "type": "object",
- "patternProperties": {
- "^(.+)$": {
- "type": [ "string", "number", "boolean" ]
- }
- }
- }
- }
- }
- }
-}