﻿{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://circuitgenome.com/schemas/cges-wcca-0.1.schema.json",
  "title": "CGES WCCA Extension 0.1",
  "description": "Validation schema for components[].analysis_modules.wcca payloads.",
  "type": "object",
  "properties": {
    "corner": {
      "type": "string"
    },
    "limit_min": {
      "oneOf": [
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "limit_max": {
      "oneOf": [
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "margin": {
      "oneOf": [
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "derating": {
      "oneOf": [
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "assumption": {
      "type": "string"
    },
    "notes": {
      "type": "string"
    }
  },
  "minProperties": 1,
  "additionalProperties": true
}
