All Downloads are FREE. Search and download functionalities are using the official Maven repository.

munity.farao.farao-crac-file-afs.1.0.2.source-code.CracFileSchema.json Maven / Gradle / Ivy

There is a newer version: 1.2.0
Show newest version
{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "properties": {
        "id": {
            "type": "string"
        },
        "name": {
            "type": "string"
        },
        "sourceFormat": {
            "type": "string"
        },
        "description": {
            "type": ["string", "null"]
},
        "preContingency": {
            "type": "object",
            "properties": {
                "monitoredBranches": {
                    "type": "array",
                    "items": [
                        {
                            "type": "object",
                            "properties": {
                                "id": {
                                    "type": "string"
                                },
                                "name": {
                                    "type": "string"
                                },
                                "branchId": {
                                    "type": "string"
                                },
                                "fmax": {
                                    "type": "number"
                                }
                            },
                            "required": [
                                "id",
                                "name",
                                "branchId",
                                "fmax"
                            ]
                        },
                        {
                            "type": "object",
                            "properties": {
                                "id": {
                                    "type": "string"
                                },
                                "name": {
                                    "type": "string"
                                },
                                "branchId": {
                                    "type": "string"
                                },
                                "fmax": {
                                    "type": "number"
                                }
                            },
                            "required": [
                                "id",
                                "name",
                                "branchId",
                                "fmax"
                            ]
                        },
                        {
                            "type": "object",
                            "properties": {
                                "id": {
                                    "type": "string"
                                },
                                "name": {
                                    "type": "string"
                                },
                                "branchId": {
                                    "type": "string"
                                },
                                "fmax": {
                                    "type": "number"
                                }
                            },
                            "required": [
                                "id",
                                "name",
                                "branchId",
                                "fmax"
                            ]
                        },
                        {
                            "type": "object",
                            "properties": {
                                "id": {
                                    "type": "string"
                                },
                                "name": {
                                    "type": "string"
                                },
                                "branchId": {
                                    "type": "string"
                                },
                                "fmax": {
                                    "type": "number"
                                }
                            },
                            "required": [
                                "id",
                                "name",
                                "branchId",
                                "fmax"
                            ]
                        }
                    ]
                }
            },
            "required": [
                "monitoredBranches"
            ]
        },
        "contingencies": {
            "type": "array",
            "items": [
                {
                    "type": "object",
                    "properties": {
                        "id": {
                            "type": "string"
                        },
                        "name": {
                            "type": "string"
                        },
                        "monitoredBranches": {
                            "type": "array",
                            "items": [
                                {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "string"
                                        },
                                        "name": {
                                            "type": "string"
                                        },
                                        "branchId": {
                                            "type": "string"
                                        },
                                        "fmax": {
                                            "type": "number"
                                        }
                                    },
                                    "required": [
                                        "id",
                                        "name",
                                        "branchId",
                                        "fmax"
                                    ]
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "string"
                                        },
                                        "name": {
                                            "type": "string"
                                        },
                                        "branchId": {
                                            "type": "string"
                                        },
                                        "fmax": {
                                            "type": "number"
                                        }
                                    },
                                    "required": [
                                        "id",
                                        "name",
                                        "branchId",
                                        "fmax"
                                    ]
                                }
                            ]
                        },
                        "contingencyElements": {
                            "type": "array",
                            "items": [
                                {
                                    "type": "object",
                                    "properties": {
                                        "elementId": {
                                            "type": "string"
                                        },
                                        "name": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "elementId",
                                        "name"
                                    ]
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "elementId": {
                                            "type": "string"
                                        },
                                        "name": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "elementId",
                                        "name"
                                    ]
                                }
                            ]
                        }
                    },
                    "required": [
                        "id",
                        "name",
                        "monitoredBranches",
                        "contingencyElements"
                    ]
                },
                {
                    "type": "object",
                    "properties": {
                        "id": {
                            "type": "string"
                        },
                        "name": {
                            "type": "string"
                        },
                        "monitoredBranches": {
                            "type": "array",
                            "items": [
                                {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "string"
                                        },
                                        "name": {
                                            "type": "string"
                                        },
                                        "branchId": {
                                            "type": "string"
                                        },
                                        "fmax": {
                                            "type": "number"
                                        }
                                    },
                                    "required": [
                                        "id",
                                        "name",
                                        "branchId",
                                        "fmax"
                                    ]
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "string"
                                        },
                                        "name": {
                                            "type": "string"
                                        },
                                        "branchId": {
                                            "type": "string"
                                        },
                                        "fmax": {
                                            "type": "number"
                                        }
                                    },
                                    "required": [
                                        "id",
                                        "name",
                                        "branchId",
                                        "fmax"
                                    ]
                                }
                            ]
                        },
                        "contingencyElements": {
                            "type": "array",
                            "items": [
                                {
                                    "type": "object",
                                    "properties": {
                                        "elementId": {
                                            "type": "string"
                                        },
                                        "name": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "elementId",
                                        "name"
                                    ]
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "elementId": {
                                            "type": "string"
                                        },
                                        "name": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "elementId",
                                        "name"
                                    ]
                                }
                            ]
                        }
                    },
                    "required": [
                        "id",
                        "name",
                        "monitoredBranches",
                        "contingencyElements"
                    ]
                }
            ]
        },
        "remedialActions": {
            "type": "array",
            "items": [
                {
                    "type": "object",
                    "properties": {
                        "id": {
                            "type": "string"
                        },
                        "name": {
                            "type": "string"
                        },
                        "remedialActionElements": {
                            "type": "array",
                            "items": [
                                {
                                    "anyOf": [
                                        {
                                            "type": "object",
                                            "properties": {
                                                "@c": {
                                                    "type": "string"
                                                },
                                                "id": {
                                                    "type": "string"
                                                },
                                                "minimumPower": {
                                                    "type": "number"
                                                },
                                                "maximumPower": {
                                                    "type": "number"
                                                },
                                                "startupCost": {
                                                    "type": "number"
                                                },
                                                "marginalCost": {
                                                    "type": "number"
                                                }
                                            },
                                            "required": [
                                                "@c",
                                                "id",
                                                "minimumPower",
                                                "maximumPower",
                                                "startupCost",
                                                "marginalCost"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "@c": {
                                                    "type": "string"
                                                },
                                                "id": {
                                                    "type": "string"
                                                },
                                                "typeOfLimit": {
                                                    "type": "string"
                                                },
                                                "minStepRange": {
                                                    "type": "number"
                                                },
                                                "maxStepRange": {
                                                    "type": "number"
                                                }
                                            },
                                            "required": [
                                                "@c",
                                                "id",
                                                "typeOfLimit",
                                                "minStepRange",
                                                "maxStepRange"
                                            ]
                                        }
                                    ]
                                }
                            ]
                        },
                        "usageRules": {
                            "type": "array",
                            "items": [
                                {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "string"
                                        },
                                        "instants": {
                                            "type": "string"
                                        },
                                        "usage": {
                                            "type": "string"
                                        },
                                        "contingenciesID": {
                                            "type": "array",
                                            "items": [
                                                {
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "string"
                                                }
                                            ]
                                        },
                                        "constraintsID": {
                                            "type": "array",
                                            "items": {}
                                        }
                                    },
                                    "required": [
                                        "id",
                                        "instants",
                                        "usage",
                                        "contingenciesID",
                                        "constraintsID"
                                    ]
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "string"
                                        },
                                        "instants": {
                                            "type": "string"
                                        },
                                        "usage": {
                                            "type": "string"
                                        },
                                        "contingenciesID": {
                                            "type": "array",
                                            "items": {}
                                        },
                                        "constraintsID": {
                                            "type": "array",
                                            "items": [
                                                {
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "string"
                                                }
                                            ]
                                        }
                                    },
                                    "required": [
                                        "id",
                                        "instants",
                                        "usage",
                                        "contingenciesID",
                                        "constraintsID"
                                    ]
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "string"
                                        },
                                        "instants": {
                                            "type": "string"
                                        },
                                        "usage": {
                                            "type": "string"
                                        },
                                        "contingenciesID": {
                                            "type": "array",
                                            "items": {}
                                        },
                                        "constraintsID": {
                                            "type": "array",
                                            "items": {}
                                        }
                                    },
                                    "required": [
                                        "id",
                                        "instants",
                                        "usage",
                                        "contingenciesID",
                                        "constraintsID"
                                    ]
                                }
                            ]
                        }
                    },
                    "required": [
                        "id",
                        "name"
                    ]
                }
            ]
        }
    },
    "required": [
        "id",
        "name",
        "sourceFormat",
        "preContingency",
        "description",
        "contingencies"
    ]
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy