You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

160 lines
3.0 KiB

{
"title": "Wappalyzer Schema",
"definitions": {
"non-empty-non-blank-sting": {
"type": "string",
"pattern": "^(?!\\s*$).+"
}
},
"type": "object",
"additionalProperties": false,
"required": ["categories","apps"],
"properties": {
"$schema": {
"type": "string"
},
"categories": {
"type": "object",
"minProperties": 64,
"additionalProperties": false,
"patternProperties": {
"^[0-9]+$": {
"type": "object",
"properties": {
"priority": {
"type": "number"
},
"name": {
"type": "string"
}
}
}
}
},
"apps": {
"type": "object",
"additionalProperties": {
"additionalProperties": false,
"required": ["cats","website"],
"properties": {
"cats": {
"type": "array",
"items": {
"type": "number"
},
"minItems": 1
},
"cpe": {
"$ref": "#/definitions/non-empty-non-blank-sting"
},
"cookies": {
"type": "object",
"additionalProperties": false,
"patternProperties": {
"^.+$": {
},
"additionalProperties": {
"type": "string"
}
}
},
"js": {
"type": "object",
"additionalProperties": false,
"patternProperties": {
"^.+$": {
},
"additionalProperties": {
"type": "string"
}
}
},
"headers": {
"type": "object",
"additionalProperties": false,
"patternProperties": {
"^.+$": {
},
"additionalProperties": {
"type": "string"
}
}
},
"html": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/non-empty-non-blank-sting"
}
},
{
"$ref": "#/definitions/non-empty-non-blank-sting"
}
]
},
"excludes": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/non-empty-non-blank-sting"
}
},
{
"$ref": "#/definitions/non-empty-non-blank-sting"
}
]
},
"implies": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/non-empty-non-blank-sting"
}
},
{
"$ref": "#/definitions/non-empty-non-blank-sting"
}
]
},
"meta": {
"type": "object",
"additionalProperties": false,
"patternProperties": {
"^.+$": {
},
"additionalProperties": {
"type": "string"
}
}
},
"script": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/non-empty-non-blank-sting"
}
},
{
"$ref": "#/definitions/non-empty-non-blank-sting"
}
]
},
"url": {
"$ref": "#/definitions/non-empty-non-blank-sting"
},
"website": {
"$ref": "#/definitions/non-empty-non-blank-sting"
},
"icon": {
"$ref": "#/definitions/non-empty-non-blank-sting"
}
}
}
}
}
}