All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
schema.xmlProvider.schema.json Maven / Gradle / Ivy
{
"$id": "xmlProvider.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "IUssue match criteria used for xml file",
"type": "object",
"properties": {
"ruleType": {
"const": "xml"
},
"criteria": {
"anyOf":
[{"$ref": "#/definitions/detectDTDDef"},
{"$ref": "#/definitions/detectAttributeDef"},
{"$ref": "#/definitions/detectElementDef"}]
},
"occurrenceAttr": {
"type": "object"
}
},
"required": [
"ruleType",
"criteria",
"occurrenceAttr"
],
"definitions": {
"detectDTDDef": {
"type": "object",
"properties": {
"detectDTD":{
"type": "object",
"properties": {
"dtdName": {
"type": "array",
"items": {
"type": "string"
}
},
"xmlFile": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"dtdName",
"xmlFile"
]
}
},
"required":["detectDTD"]
},
"detectAttributeDef": {
"type": "object",
"properties": {
"detectAttribute":{
"type": "object",
"properties": {
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"attributeName": {
"type": "string"
},
"attributeValue": {
"type": "string"
},
"xmlFile": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"tags",
"xmlFile",
"attributeName"
]
}
},
"required": ["detectAttribute"]
},
"detectElementDef": {
"type": "object",
"properties": {
"detectElement":{
"type":"object",
"properties": {
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"xmlFile": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"tags",
"xmlFile"
]
}
},
"required": ["detectElement"]
}
}
}