munity.farao.farao-crac-file-afs.1.0.2.source-code.CracFileSchema.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of farao-crac-file-afs Show documentation
Show all versions of farao-crac-file-afs Show documentation
Integration of CRAC file into AFS database for powsybl
{
"$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"
]
}