import jsonschema


CORE_SCHEMA = {
    'type': 'object',
    'properties': {
        'paradigm': {
            'type': 'string',
        },
        'method': {
            'type': 'string',
        },
    },
    'additionalProperties': False,
}

VALIDATORS = {
    'core': CORE_SCHEMA
}

def validate(request, schema_name):
    jsonschema.validate(request, VALIDATORS[schema_name])

import jsonschema


CORE_SCHEMA = {
    'type': 'object',
    'properties': {
        'paradigm': {
            'type': 'string',
        },
        'method': {
            'type': 'string',
        },
        'address': {
            'type': 'string',
        },
    },
    'additionalProperties': False,
}

VALIDATORS = {
    'core': CORE_SCHEMA
}


def validate(request, schema_name):
    jsonschema.validate(request, VALIDATORS[schema_name])

Add 'address' field to core schema
Add 'address' field to core schema

  import jsonschema
  
  
  CORE_SCHEMA = {
      'type': 'object',
      'properties': {
          'paradigm': {
              'type': 'string',
          },
          'method': {
              'type': 'string',
          },
+         'address': {
+             'type': 'string',
+         },
      },
      'additionalProperties': False,
  }
  
  VALIDATORS = {
      'core': CORE_SCHEMA
  }
  
+ 
  def validate(request, schema_name):
      jsonschema.validate(request, VALIDATORS[schema_name])
  
Add 'address' field to core schema
## Code Before:
import jsonschema


CORE_SCHEMA = {
    'type': 'object',
    'properties': {
        'paradigm': {
            'type': 'string',
        },
        'method': {
            'type': 'string',
        },
    },
    'additionalProperties': False,
}

VALIDATORS = {
    'core': CORE_SCHEMA
}

def validate(request, schema_name):
    jsonschema.validate(request, VALIDATORS[schema_name])

## Instruction:
Add 'address' field to core schema
## Code After:
import jsonschema


CORE_SCHEMA = {
    'type': 'object',
    'properties': {
        'paradigm': {
            'type': 'string',
        },
        'method': {
            'type': 'string',
        },
        'address': {
            'type': 'string',
        },
    },
    'additionalProperties': False,
}

VALIDATORS = {
    'core': CORE_SCHEMA
}


def validate(request, schema_name):
    jsonschema.validate(request, VALIDATORS[schema_name])
