anySchema property

Map<String, List<Map<String, dynamic>>> anySchema

Implementation

static Map<String, List<Map<String, dynamic>>> get anySchema => const {
      'anyOf': [
        {
          'type': 'string',
        },
        {
          'type': 'number',
        },
        {
          'type': 'boolean',
        },
        {
          'type': 'object',
          'additionalProperties': true,
        },
        {
          'type': 'array',
          'items': {
            'type': 'string',
          },
        },
        {
          'type': 'array',
          'items': {
            'type': 'number',
          },
        },
        {
          'type': 'array',
          'items': {
            'type': 'boolean',
          },
        },
        {
          'type': 'array',
          'items': {
            'type': 'object',
            'additionalProperties': true,
          },
        },
      ],
    };