{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/broad-institute/json-schema/broad-institute-new-method-config-ingest-schema.json",
  "title": "NewMethodConfigIngest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/broad-institute-method-configurations-api-openapi.yml#/components/schemas/NewMethodConfigIngest",
  "required": [
    "deleted",
    "inputs",
    "methodConfigVersion",
    "methodRepoMethod",
    "name",
    "namespace",
    "outputs",
    "prerequisites",
    "rootEntityType"
  ],
  "type": "object",
  "properties": {
    "namespace": {
      "type": "string",
      "description": "Method configuration namespace"
    },
    "name": {
      "type": "string",
      "description": "Method configuration name"
    },
    "rootEntityType": {
      "type": "string",
      "description": "Method configuration root entity type"
    },
    "inputs": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Input map - Map[string, string]"
    },
    "outputs": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Output map - Map[string, string]"
    },
    "prerequisites": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Prerequisites map - Map[string, string]"
    },
    "methodRepoMethod": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Method ID - Map"
    },
    "methodConfigVersion": {
      "type": "integer",
      "description": "Version number, incremented on edit",
      "format": "int32"
    },
    "deleted": {
      "type": "boolean",
      "description": "Is this config marked as deleted?",
      "default": false
    }
  }
}