Files
s41r4j-phomber/schemas/subject.schema.json
T
s41r4j 7e6a5f43b1
Gen2 checks / test (22, ubuntu-latest) (push) Canceled after 0s
Gen2 checks / test (22, macos-latest) (push) Canceled after 0s
Gen2 checks / test (22, windows-latest) (push) Canceled after 0s
Gen2 checks / test (24, macos-latest) (push) Canceled after 0s
Gen2 checks / test (24, ubuntu-latest) (push) Canceled after 0s
Gen2 checks / test (24, windows-latest) (push) Canceled after 0s
Release PH0MBER Gen2 0.0.1
2026-11-18 22:53:01 +05:30

527 lines
12 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "PH0MBER investigation input v1",
"type": "object",
"required": [
"schema_version",
"subject"
],
"additionalProperties": false,
"properties": {
"schema_version": {
"const": "1.0"
},
"subject": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"first_name": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"middle_name": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"surname": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"preferred_name": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"biography": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"nationality": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"location": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"aliases": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
},
"usernames": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
},
"languages": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
},
"websites": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
},
"domains": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
},
"education": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"additionalProperties": true,
"properties": {
"date": {
"$ref": "#/definitions/date"
},
"sources": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
}
}
}
},
"projects": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"additionalProperties": true,
"properties": {
"date": {
"$ref": "#/definitions/date"
},
"sources": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
}
}
}
},
"connections": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"additionalProperties": true,
"properties": {
"date": {
"$ref": "#/definitions/date"
},
"sources": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
}
}
}
},
"achievements": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"additionalProperties": true,
"properties": {
"date": {
"$ref": "#/definitions/date"
},
"sources": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
}
}
}
},
"publications": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"additionalProperties": true,
"properties": {
"date": {
"$ref": "#/definitions/date"
},
"sources": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
}
}
}
},
"organizations": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"additionalProperties": true,
"properties": {
"date": {
"$ref": "#/definitions/date"
},
"sources": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
}
}
}
},
"community": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"additionalProperties": true,
"properties": {
"date": {
"$ref": "#/definitions/date"
},
"sources": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
}
}
}
},
"timeline": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"additionalProperties": true,
"properties": {
"date": {
"$ref": "#/definitions/date"
},
"sources": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
}
}
}
},
"digital_footprint": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"additionalProperties": true,
"properties": {
"date": {
"$ref": "#/definitions/date"
},
"sources": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
}
}
}
},
"professional": {
"type": "object",
"properties": {
"company": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"companies": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
},
"history": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"additionalProperties": true,
"properties": {
"date": {
"$ref": "#/definitions/date"
},
"sources": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
}
}
}
}
},
"additionalProperties": true
},
"socials": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"required": [
"platform"
],
"additionalProperties": false,
"properties": {
"platform": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"username": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"url": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
},
"anyOf": [
{
"required": [
"username"
]
},
{
"required": [
"url"
]
}
]
}
},
"custom": {
"type": "object"
},
"metadata": {
"type": "object"
}
}
},
"research": {
"type": "object",
"additionalProperties": false,
"properties": {
"depth": {
"enum": [
"quick",
"standard",
"deep"
]
},
"offline": {
"type": "boolean"
},
"omit": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
},
"ai": {
"type": "boolean"
},
"ai_only": {
"type": "boolean"
},
"max_ai_calls": {
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"max_output_tokens": {
"type": "integer",
"minimum": 1,
"maximum": 32000
}
}
},
"output": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"enum": [
"html",
"json"
]
}
},
"evidence": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"required": [
"category",
"field",
"value",
"url",
"excerpt",
"retrieved_at"
],
"additionalProperties": false,
"properties": {
"category": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"field": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"url": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"excerpt": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"retrieved_at": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
}
}
}
},
"definitions": {
"date": {
"type": "object",
"additionalProperties": false,
"properties": {
"start": {
"type": "string",
"pattern": "^\\d{4}(-\\d{2}(-\\d{2})?)?$",
"format": "partial-date"
},
"end": {
"type": "string",
"pattern": "^\\d{4}(-\\d{2}(-\\d{2})?)?$",
"format": "partial-date"
},
"precision": {
"enum": [
"day",
"month",
"year",
"unknown"
]
},
"uncertain": {
"type": "boolean"
}
}
}
}
}