{
	"$schema": "http://json-schema.org/draft-04/schema#",
	"title": "MainDeclaration__version of 17-cybersecurity std",
	"id": "http://www.paprosinc.com/jschemas/fully_modular_draftver_9_17-cybersecurity-jschema.json",
	"description": "revision dated 21April2026",
	"type": "object",
	"allOf": [
		{
			"$ref": "1751B.json"
		}
	],
	"MainDeclaration": {
		"type": "object",
		"additionalProperties": true,
		"properties": {
			"version": {
				"type": "string"
			},
			"BusinessInfo": {
				"$ref": "1751B.json#/definitions/BusinessInfo"
			},
			"Include": {
				"anyOf": [
					{
						"$ref": "#/definitions/Include"
					},
					{
						"type": "array",
						"description": "Array of Include",
						"items": {
							"$ref": "#/definitions/Include"
						}
					}
				]
			}
		}
	},
	"definitions": {
		"dateTime": {
			"description": "This string will be in ISO 8601 date and time format",
			"type": "string"
		},
		"Duration": {
			"value": {
				"type": "string"
			},
			"format": {
				"type": "string",
				"enum": [
					"hours",
					"minutes",
					"seconds",
					"milliseconds",
					"nanoseconds",
					"ISO 8601 duration",
					"ISO 8601 interval"
				]
			}
		},
		"ThreatCharacterization": {
			"LevelClassification": {
				"descriptionOfClassification": {
				"type": "string",
				"enum": [
					"Super",
					"Major",
					"Medium",
					"Low",
					"Unknown"
				],
				"minItems": 1
			},
				"score": {
				"type": "number",
				"description": "This will be from 1 to 5, 5 being highest(Super)"
            }				
			},
			"PointOfThreatClassification": {
				"descriptionOfClassification": {
				"type": "string",
				"enum": [
					"Equipment",
					"Line",
					"Factory",
					"No_input"
				],
				"minItems": 1
			}			
			},
			"AlertInitiatorClassification": {
				"descriptionOfClassification": {
				"type": "string",
				"enum": [
					"Executive (Level of CEO, CTO, CFO, Director)",
					"Manager",
					"Supervisor",
					"Employee",
					"Other"
				],
				"minItems": 1
			}
			},
			"DepartmentClassification": {
				"descriptionOfClassification": {
				"type": "string",
				"enum": [
					"Administration",
					"Sales/Marketing/CustomerService",
					"Procurement",
					"Engineering",
					"Manufacturing",
					"Shipping/Handling"
				],
				"minItems": 1
			}
			},
			"MessagePropagationClassification": {
				"descriptionOfClassification": {
				"type": "string",
				"enum": [
					"Company-Internal",
					"Company-Customers",
					"Company-Suppliers",
					"Company-AllPartners",
					"Open-All"
				],
				"minItems": 1
			}
			}
			},
		"Include": {
			"type": "object",
			"properties": {
				"dataType": {
					"type": "string",
					"enum": [
						"17_cybersecurity"
					]
				},
				"dateTime": {
					"$ref": "#/definitions/dateTime"
				},
				"Duration": {
					"$ref": "#/definitions/Duration"
				},
				"Sectional": {
					"$ref": "#/definitions/Sectional"
				},
				"ThreatCharacterization": {
					"$ref": "#/definitions/ThreatCharacterization"
				},
			"sectionalVersion": {
				"type": "string",
				"enum": [
					"2.00"
				]
			},
			"sectionalReviewDate": {
				"type": "string"
			},
			"Attachment": {
				"$ref": "1751B.json#/definitions/Attachment"
			}
		},
		"Sectional": {
			"type": "object",
			"properties": {
				"name": {
					"type": "string",
					"enum": [
						"Cybersecurity-threat alertt"
					]
				}
			},
			"additionalProperties": true,
			"required": [
				"name"
			]
		}
		}
	}
}