﻿{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "http://www.paprosinc.com/jschemas/fully_modular_draftver_9_1757_jschema.json",
    "description": "revision dated 5February2026",
    "type": "object",
    "allOf": [
        {
            "$ref": "1751B.json"
        },
        {
            "$ref": "1752C.json"
        }
    ],
    "definitions": {
        "MaterialDeclaration": {
            "type": "object",
            "additionalProperties": true,
            "properties": {
                "version": {
                    "type": "string",
                    "enum": [
                        "2.00"
                    ]
                },
                "BusinessInfo": {
                    "$ref": "#/definitions/BusinessInfo"
                },
                "Include": {
                    "anyOf": [
                        {
                            "$ref": "#/definitions/Include"
                        },
                        {
                            "type": "array",
                            "items": {
                                "$ref": "#/definitions/Include"
                            }
                        }
                    ]
                }
            }
        },
        "Process": {
            "type": "object",
            "additionalProperties": {
                "$ref": "1752C.json#/definitions/Product"
            },
            "properties": {
                "Substance": {
                    "anyOf": [
                        {
                            "$ref": "1752C.json#/definitions/Substance"
                        },
                        {
                            "type": "array",
                            "items": {
                                "$ref": "1752C.json#/definitions/Substance"
                            }
                        }
                    ]
                },
                "ProcessStage": {
                    "type": "string",
                    "enum": [
                        "manufacturing",
                        "installing",
                        "repair",
                        "maintenance",
                        "remanufacture",
                        "refurbishment",
                        "other"
                    ]
                }
            }
        },
        "Include": {
            "type": "object",
            "additionalProperties": {
                "ref": "1751B.json#/definitions/Include"
            },
            "properties": {
                "dataType": {
                    "type": "string",
                    "enum": [
                        "1757"
                    ]
                },
                "Sectional": {
                    "minItems": 1,
                    "items": {
                        "$ref": "#/definitions/Sectional"
                    }
                },
                "sectionalVersion": {
                    "type": "string",
                    "enum": [
                        "2.00"
                    ]
                },
                "sectionalReviewDate": {
                    "type": "string"
                },
                "scope": {
                    "type": "string",
                    "enum": [
                        "Company",
                        "Division",
                        "Product"
                    ]
                },
                "Process": {
                    "anyOf": [
                        {
                            "$ref": "#/definitions/Process"
                        },
                        {
                            "type": "array",
                            "items": {
                                "$ref": "#/definitions/Process"
                            }
                        }
                    ]
                }
            }
        },
        "IncludePS": {
            "anyOf": [
                {
                    "$ref": "#/definitions/Include"
                },
                {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/Include"
                    }
                }
            ]
        },
        "IncludeM": {
            "anyOf": [
                {
                    "$ref": "#/definitions/Include"
                },
                {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/Include"
                    }
                }
            ]
        },
        "IncludeSC": {
            "anyOf": [
                {
                    "$ref": "#/definitions/Include"
                },
                {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/Include"
                    }
                }
            ]
        },
        "Sectional": {
            "type": "object",
            "additionalProperties": true,
            "properties": {
                "SubSectional": {
                    "anyOf": [
                        {
                            "$ref": "#/definitions/SubSectional"
                        },
                        {
                            "type": "array",
                            "items": {
                                "$ref": "#/definitions/SubSectional"
                            }
                        }
                    ]
                },
                "name": {
                    "type": "string",
                    "enum": [
                        "ProcessChemicals"
                    ]
                }
            },
            "required": [
                "name"
            ]
        },
        "ProductID": {
            "anyOf": [
                {
                    "$ref": "1751B.json#/definitions/ProductID"
                },
                {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                        "$ref": "1751B.json#/definitions/ProductID"
                    }
                }
            ]
        },
        "Contact": {
            "$ref": "1751B.json#/definitions/Contact"
        },
        "Company": {
            "$ref": "1751B.json#/definitions/Company"
        },
        "Manufacturer": {
            "$ref": "#/definitions/Company"
        },
        "docID": {
            "type": "string"
        },
        "Attachment": {
            "$ref": "1751B.json#/definitions/Attachment"
        },
        "Response": {
            "$ref": "1751B.json#/definitions/Response"
        },
        "BusinessInfo": {
            "$ref": "1751B.json#/definitions/BusinessInfo"
        },
        "Request": {
            "$ref": "1751B.json#/definitions/Request"
        },
        "SubSectional": {
            "type": "string",
            "enum": [
                "H",
                "J",
                "K"
            ]
        }
    }
}